The Higher Education and Research forge

Home My Page Projects Code Snippets Project Openings Développement de WIMS
Summary Activity Forums Tracker Tasks Docs Surveys News SCM Files Listes Sympa

Forum: developers

Monitor Forum | Start New Thread Start New Thread
RE: problem with java [ Reply ]
By: joke evers on 2011-09-09 10:11
[forum:13395]
I don't think it in nessecary to mention this in the documentation or compilescript.
It's a flaw in your Ubuntu distribution :)
Other linux distributions -normally- ship with a fully functional JDK

kind regards,
Joke

problem with java [ Reply ]
By: Marina Cazzola on 2011-09-09 09:26
[forum:13394]
I had problem with compiling Clicktile on Ubuntu.

Clicktile WIMSchem zirkel
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/lib/tools.jar

I solve the problem in this way (cfr. http://www.imlucas.com/post/263896412/ubuntu-fix-for-unable-to-locate-tools-jar-expected-to):

> Get the Sun JDK sudo apt-get install sun-java6-jdk then run sudo update-alternatives --config java and select the option that has the path /usr/lib/jvm/java-6-sun/jre/bin/java

(in other words ubuntu defaults to a "wrong" version of java)

Should this be mentioned in the documentation. Or in the compile script?

Marina