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?
Error on emerge sys-libs/db-4.0.14-r2 (Where's the $PATH)
-
- 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)
If you keep an open mind, will your brain fall out?
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
I've found the $PATH min currently reads
is blackdown-jre-1.4.1 not an acceptable jar program?
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
If you keep an open mind, will your brain fall out?
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
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
"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?
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
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
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?
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
Try:
if Blackdown JDK is installed
if Sun JDK is installed.
NB: JRE is runtime environment, and JDK is the development kit.
Code: Select all
java-config --set-system-vm=/opt/blackdown-jdk-1.4.1
Code: Select all
java-config --set-system-vm=/opt/sun-jdk-1.4.2.01
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.
Did you install via emerge?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
dev-java/sun-jdk-1.4.2.01