Freecol does not work work with openjdk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
freecol (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If you are using OpenJDK instead of Sun’s Java the startup script of Freecol does not work correctly.
It is checking for the JAVA_HOME environment and if it doesn’t find one, sets it to a value for iced-tea or Sun’s Java respectively. This does not work with OpenJDK.
I found out, that the program doesn’t need the environment variable. Deleting the following lines from /usr/games/freecol fixes the problem for me.
if [ -z "$JAVA_HOME" ]
then
if [ -d /usr/lib/
JAVA=java
else # We use java6 from Sun
fi
fi
Changed in freecol: | |
assignee: | sikon → nobody |
status: | Incomplete → Triaged |
Are you using hardy or intrepid?