Installing haiku-openJDK

Forum thread started by el.tigre.20 on Sun, 2012-10-14 03:12

Hey,

so as we all know, openJDK-final was released...

with the downloadable tar.gz, does anyone know how or where to install the files/folder to?

I tried unpacking in /boot for a system-wide install..... nevertheless it didn't work.
Any ideas?

step-by-step instructions would be the best (also once installed how do I link it and stuff with bash)

Thanks!

ps(does anyone know if it supports graphics/gui) thanks!!

Comments

Re: Installing haiku-openJDK

I think it should follow standard Oracle java (manual) installation...
I used OpendJdk-image, but I think it should be the same.
Unpack the file in ../apps/
Create a reference to JAVA_HOME in UserSetupEnvironment (or ../.profile).
Then add to PATH the right location. ($JAVA_HOME/bin, $JAVA_HOME/jre/bin)
If you need it, a CLASSPATH can also be created. ($JAVA_HOME/lib, $JAVA_HOME/jre/lib)
Regards

Luciano