Error on emerge sys-libs/db-4.0.14-r2 (Where's the $PATH)

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Error on emerge sys-libs/db-4.0.14-r2 (Where's the $PATH)

Post by nobspangle »

I am trying to emerge --update world and can't get past this package. The error I am getting is "no acceptable jar program found in $PATH"

How do I add an acceptable jar program to $PATH?
Which jar program is acceptable?
If you keep an open mind, will your brain fall out?
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

I've found the $PATH min currently reads

Code: Select all

/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jre-1.4.1/bin
is blackdown-jre-1.4.1 not an acceptable jar program?
If you keep an open mind, will your brain fall out?
scoobydu
Linux Expert
Posts: 107
Joined: Mon Aug 11, 2003 6:08 pm

Post by scoobydu »

Not sure of you error, but I have had numerous problems with java apps not liking blackdown.

i've been using suns jdk and its been fine for a while now.
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

I installed sun-jdk-1.4.2.01 now my error has changed to
"checking if javac works... configure: error: The Java compiler javac failed (see config.log, check the CLASSPATH?)"

my CLASSPATH reads
/opt/sun-jdk-1.4.2.01/jre/lib:/opt/sun-jdk-1.4.2.01/lib/tools.jar:/opt/sun-jdk-1.4.2.01/jre/lib/rt.jar:.

where have I gone wrong
If you keep an open mind, will your brain fall out?
rocketeer
Pro
Posts: 75
Joined: Sun Aug 17, 2003 12:05 am

Post by rocketeer »

nobspangle wrote:"checking if javac works... configure: error: The Java compiler javac failed (see config.log, check the CLASSPATH?)"
What does the log say? What package are you installing?
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

configure:8943: checking if javac works
configure:8957: javac Test.java
configure:8960: $? = 1
configure:8964: error: The Java compiler javac failed (see config.log, check the CLASSPATH?)

seems to be the part in question the package I am compiling is at the top of the thread

I might try a different java compiler
If you keep an open mind, will your brain fall out?
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

Switched back to the blackdown java now it works I think what I have done is switched to the JDK from the JRE don't know why the sun one wouldn't work
If you keep an open mind, will your brain fall out?
rocketeer
Pro
Posts: 75
Joined: Sun Aug 17, 2003 12:05 am

Post by rocketeer »

Try:

Code: Select all

java-config --set-system-vm=/opt/blackdown-jdk-1.4.1
if Blackdown JDK is installed

Code: Select all

java-config --set-system-vm=/opt/sun-jdk-1.4.2.01
if Sun JDK is installed.

NB: JRE is runtime environment, and JDK is the development kit.
Last edited by rocketeer on Fri Oct 31, 2003 5:53 pm, edited 1 time in total.
scoobydu
Linux Expert
Posts: 107
Joined: Mon Aug 11, 2003 6:08 pm

Post by scoobydu »

nobspangle wrote:I installed sun-jdk-1.4.2.01 now my error has changed to
"checking if javac works... configure: error: The Java compiler javac failed (see config.log, check the CLASSPATH?)"

my CLASSPATH reads
/opt/sun-jdk-1.4.2.01/jre/lib:/opt/sun-jdk-1.4.2.01/lib/tools.jar:/opt/sun-jdk-1.4.2.01/jre/lib/rt.jar:.

where have I gone wrong
Did you install via emerge?

dev-java/sun-jdk-1.4.2.01
Post Reply