SuSE GmbH

SuSE Support Database

Title: Java compiler does not start

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Java compiler does not start

Symptom:

The error message: javac was not found in /usr/bin/../bin/i586/javac appears during the start of javac.

Cause:

javac is a link from /usr/bin to /usr/lib/java/bin/javac. This program automatically tries to find out where it is installed; the link does not work.

Solution:

Explicitly start the program /usr/lib/java/bin/javac. Best is to remove the link in /usr/bin and extend your search path, e.g. in your .profile, by:
        export PATH=$PATH:/usr/lib/java/bin

on a 486...

Symptom:

On a 486 this is not enough...

Cause:

The bin and lib paths are not linked.

Solution:

Relink the paths:
paddys:root: / # cd /usr/lib/java/bin/i486
paddys:root: /usr/lib/java/bin/i486 # ln -s ../i586/* .
paddys:root: /usr/lib/java/bin/i486 # cd ../../lib/i486/
paddys:root: /usr/lib/java/lib/i486 # ln -s ../i586/* .
For a 386 correspondingly.

----------

See also:

----------

Keywords: JAVA, JDK

----------

Feedback welcome: Send Mail to kfr@suse.de (Please give the following subject: SDB-java2)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-java2, Copyright SuSE GmbH, Nuremberg, Germany
SuSE GmbH - Last generated: 07. Oct 1999 16:43:45 by maddin with sdb_gen 1.00.0