java classpath not defined
Bug #349501 reported by
fallingautumnlinks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
java-common (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: default-jre
After upgrading from 8.10 to 9.04 (amd64), a simple "java MyFooProgram" generated a java.lang.
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)
To post a comment you must log in.
not seen with openjdk-6 on karmic