Tagged Questions
1
vote
1answer
273 views
How to force a particular version of Java?
I am on a RHEL 5.5 64 bit box. The systems engineer installed the 64-bit Java VM under /usr/bin ; however, I needed a 32 bit VM which he installed in /opt/jdk1.6.0_35. But now, everytime I do java ...
0
votes
2answers
4k views
How to set environment variable JAVA_HOME that will be saved on exit? [duplicate]
Possible Duplicate:
How do I set a user environment variable? (permanently, not session)
I use Suse. First was installed jdk7, so JAVA_HOME remains like:
/usr/java/jdk1.7.0_05/
After I ...
3
votes
2answers
815 views
Adding a folder of jar files to my path
Unix newbie here.
I have java tools that I need to use. The tools are in a folder full of jar files. I wanted to add this folder to my path, for the obvious reasons, but after I edit my .bash_profile ...
2
votes
2answers
586 views
A system-wide way to set or get $JAVA_HOME in Ubuntu?
I wonder whether Ubuntu itself provides a system-wide way to find the current JAVA_HOME or whether there is right place for setting JAVA_HOME.
Mac OS X does well in this, for /usr/libexec/java_home ...
1
vote
1answer
379 views
What is wrong with my JDK installation?
I tried to compile a Hello world example in java and got a gcc error. As far as I understand it, gcc is trying to compile my java class (and for some reason failing to find the main method, but that's ...
0
votes
2answers
883 views
installed java, but java -version not showing new java
I just installed jdk1.6.0. I have tried multiple ways to set the path variable and make java 1.6 my new running version. And nothing is working. Running centos5 virtual machine.
alternatives --config ...