java classpath not defined

Bug #349501 reported by fallingautumnlinks
2
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.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)

Tags: java jre
Revision history for this message
Matthias Klose (doko) wrote :

not seen with openjdk-6 on karmic

Changed in java-common (Ubuntu):
status: New → Incomplete
Revision history for this message
Niels Thykier (niels-thykier) wrote :

Hi

I am closing this bug as invalid, since it has expired. Also should this particular problem reappear, please report to the particular JVM (probably one providing /usr/bin/java via alternatives) and not java-common.

~Niels

Changed in java-common (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.