On Tue, Feb 01, 2000 at 10:55:00PM +, Ekkehard Kraemer wrote:
> Hello Clyde,
>
> cj>So despite what the install README says; assuming an install
> cj>directory of /usr/local/jdk1.2.2, the env variables need to be set to:
> cj>
> cj>PATH=$PATH:/usr/local/jdk1.2.2/bin:
> cj>CLASSPATH=/usr/loca
Hello Clyde,
cj>So despite what the install README says; assuming an install
cj>directory of /usr/local/jdk1.2.2, the env variables need to be set to:
cj>
cj>PATH=$PATH:/usr/local/jdk1.2.2/bin:
cj>CLASSPATH=/usr/local/jdk1.2.2/jre/:.
cj>JAVA_HOME=/usr/local/jdk1.2.2
Sorry, this is not correct.
Thanks - that did the trick.
I needed to set CLASSPATH to
CLASSPATH=/usr/local/jdk1.2.2/jre/:.
So if I understand this correctly, I got the error because the local
directory was NOT in the CLASSPATH; so java could not find the class
I created in my program and threw that exception.
So d
You don't need classes.zip or rt.jar in your classpath, but you do need
the directory containing your HelloWorldApp program in
your classpath.
Hope this helps.
jason
clyde jones wrote:
> Nope this didn't work - I still get the same error.
>
> $ java HelloWorldApp
> Exception in thread "main"
Nope this didn't work - I still get the same error.
$ java HelloWorldApp
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp
I installed the Netbeans IDE which requires that JAVA_HOME and
CLASSPATH be set. I still get the same error if I unset them.
I will ask blackdown
Do this:
java HelloWorldApp
instead of this:
java HelloWorldApp.class
If you're using 1.2.2 you don't need a CLASSPATH (at least not for
this).
The runtime classes are in .../jdk1.2.2/jre/lib/rt.jar, not
../classes.zip.
-Peter
http://armedbear.org
clyde jones wrote:
>
> Hi
> I j
> Raj Patel writes:
Raj> I just posted the question regarding jdk1.2pre-v2. I think
Raj> it's more of a installation problem. After installing
Raj> jdk1.2pre-v2 and setting PATH to bin directory when i tried
Raj> javac command i got following error,
Raj> *** panic: GC:
Hi Michael,
Thanks for your reply.
I did try to uninstall the v2 and install the
jdk-1.1.7.v1a-3.i386.rpm. After I install
the version 3, I try to compile my program and
it doesn't work. The error message is :
/usr/lib/jdk-1.1.7/bin/i586/green_threads/java: error in loading shared
libraries: /
> Aniruddha Patro writes:
Aniruddha> This might help you folks...
Aniruddha> I've a glibc2.1 runtime on a libc5 Slackware 3.5(2.0.34 upgraded to 2.3.2).
Aniruddha> Compiled glibc2.1 and installed it under /usr/local/glibc-2.1
Aniruddha> added /usr/local/glibc2.1/lib to /etc/ld.so.conf
An
This might help you folks...
I've a glibc2.1 runtime on a libc5 Slackware 3.5(2.0.34 upgraded to 2.3.2).
Compiled glibc2.1 and installed it under /usr/local/glibc-2.1
added /usr/local/glibc2.1/lib to /etc/ld.so.conf
Created links
/lib/libc.so.6 to /lib/libc.so.6
/lib/ld-linux.so.2 to
> Nathan Meyers writes:
> The difficulty with the JDK1.2/Slackware installation turned out to be a
> very incomplete installation of glibc: libc.so.6 had been installed by
> copying, but none of the other hundreds of related libraries and support
> files was there.
> If anyone has some
Rainer Mager wrote:
> Hi all,
>
> Ok, I installed the JDK1.2 and set my PATH var to find the binaries but
> I still have a problem. When I run java (or javac) I get an error about not
> being able to load a shared library. After this I edited my
> /etc/ldconfig.so.conf file to add my jdk1.2/j
This is what I did:
1. Deinstall Kaffe.
2. mkdir /java // of course, you have to specify your directory
3. chown wdacruz /java
4. chgrp wdacruz /java
5. su wdacruz
6. tar xvzf jdk_1_1_7-v1a-glibc-x86_tar.gz
7. tar xvzf jdk_1_1_7-v1a-glibc-x86-native_tar.gz
8. My java directory looks like this:
> paulmoody wrote:
>
> Hi,
> I followed the install notes for jdk117 on redhat 51 and get the message
> CLASSPATH not set ??? when i try to use it ,
> the notes say I dont have to do this.
logout and login :-)
and read the faq before ask.
-- Levente
--
> paulmoody writes:
paulmoody> Hi,
paulmoody> I followed the install notes for jdk117 on redhat
paulmoody> 51 and get the message CLASSPATH not set ??? when i
paulmoody> try to use it , the notes say I dont
paulmoody> have to do this.
paulmoody> TIA an
Hello. I got same problem and solved it. And this is my first mail
to java-linux Mailing List. I'm a japanese student, so my English may
be strange. I'm sorry. m(..)m
mshen> ...Checkversions: {isGreaterOrEqual: command not found
Edit the bin/checkVersions file and modify
from
>if isGr
Clint Miller wrote:
>
> Hi there -
>
> I'm an experienced linux user but brand new to java. I've followed the
> directions in the linux java faq
> (http://www.blackdown.org/java-linux/docs/faq/FAQ-java-linux-3.html#ss3.2)
> for installation on (a rigorously patched) i386 RH 5.1:
> --(snip)-
Clint Miller wrote:
> All easy enough, except that the jdk_1.1.6-v5-glibc-x86.tar.gz file
> doesn't seem to contain a "demo" subdirectory or anything called
Clint is ok now, he was mainly looking for the demos referred to in the
README. These can be found in the docs at:
http://www.javasoft.co
On Fri, 19 Jun 1998, Stephen Wynne wrote:
> I read the FAQ but still could not find a solution. I downloaded a
> copy of jdk-sbb-1.1.6-2.1.1glibc.i386.rpm from
> http://anna.inf.u-szeged.hu/java/java-rpm.html. But when i
> installed this RPM version, "libXm.so.1 is needed" poped
On Fri, 19 Jun 1998 [EMAIL PROTECTED] wrote:
> I downloaded the JDK1.1.6v1(glibc) and installed on my Red Hat Linux 5.0.
> But when I try to compile the "HelloWorld " program:
> ls -l /lib/libc.so.* gives me
> lrwxrwxrwx 1 root root
> 13 Jan 20 10:39 /lib/libc.so.6 -> libc-2.0.
In message <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:
I read the FAQ but still could not find a solution. I downloaded a
copy of jdk-sbb-1.1.6-2.1.1glibc.i386.rpm from
http://anna.inf.u-szeged.hu/java/java-rpm.html. But when i
installed this RPM version, "libXm.so.1 is nee
On Mon, 1 Jun 1998, Kiran Josyula wrote:
> I have downloaded and then extraced the following files
> 1. i18n-v7-glibc.tar.gz
> 2. jdk-1.1.5-v7-glibc.tar.gz...
> ldconfig: version 1.7.14
> libc.so.5 => libc.so.5.3.12
You downloaded the glibc (libc6) binaries and you are running a libc5
22 matches
Mail list logo