Public bug reported:

Binary package hint: default-jre

After upgrading from 8.10 to 9.04 (amd64), a simple "java MyFooProgram" 
generated a java.lang.NoClassDefFoundError.
Fixing this, is really simple. Just add an enviroment variable called 
CLASSPATH, with value "." in .bashrc. 
E.g.
.bashrc
-----------------
..
..
CLASSPATH=.
export CLASSPATH
..
..
------------------

Java information

java -version:
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)

** Affects: java-common (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: java jre

-- 
java classpath not defined
https://bugs.launchpad.net/bugs/349501
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to