2
votes
2answers
15 views

What exactly should I set as JAVA_HOME?

I am trying to make Tomcat 7 working with Eclipse, and I am not sure if my JAVA_HOME is correct. ~$ echo $JAVA_HOME /usr/lib/jvm/default-java And there is no such catalog! I only have: ~$ ls ...
0
votes
1answer
323 views

Setting environment variables for OpenJDK on Ubuntu 11.10

I am new to Ubuntu and have programmed in C in the same but java seems to be a bitof a pain. This is what -java version looks like java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 ...
0
votes
1answer
2k views

How do I set CLASSPATH variable for Tomcat in 12.10?

Previously, I have set the JAVA_HOME path using the terminal with the following command: export JAVA_HOME="/usr/lib/jvm/java-7-openjdk-i386" >> ~/.bashrc Now, I want to set the CLASSPATH ...
1
vote
1answer
12k views

Setting up JAVA_HOME and CLASSPATH correctly on 12.04

I am having some issues with Java (OpenJDK Java 7 Runtime) on Ubuntu 12.04, and just want to make sure I have my CLASSPATH and JAVA_HOME variables set correctly. ...
1
vote
2answers
10k views

Setting Java CLASSPATH

I've done java development before but generally on windows (but I'm by no means an expert). I just want to set my CLASSPATH. When I run: echo $CLASSPATH (Is that right)? I get a empty line. So, ...
0
votes
2answers
6k views

The annoyed configuration of java-6-openjdk

I want to change the java environment to java-6-openjdk. /etc/environment: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" JAVA_HOME=/usr/lib/jvm/java-6-openjdk/ ...