Java Kernel Support can't find class in .class file

Java Kernel Support can't find class in .class file

Post by Paul Cummin » Mon, 23 Dec 1996 04:00:00



I've recompiled for kernel support of Java.  Using a module for Java.
Using Linux 2.0.27

/etc/bashrc:
export CLASSPATH=/usr/local/java/lib/classs:.

I tried to run the HelloWorld.java program from Documentation/java.txt

Any ideas?
--
=============== ==============================================
Paul Cummings   "That's an awful lot of ships." --Ivanova

=Linux=v2.0.27= ==============================================

 
 
 

Java Kernel Support can't find class in .class file

Post by Andy Berkheime » Mon, 23 Dec 1996 04:00:00



> I've recompiled for kernel support of Java.  Using a module for Java.
> Using Linux 2.0.27

> /etc/bashrc:
> export CLASSPATH=/usr/local/java/lib/classs:.

> I tried to run the HelloWorld.java program from Documentation/java.txt

> Any ideas?

It would help to see the exact error message. Also, you need the
Java Development Kit installed, which it looks like you have. Finally,
make sure that you have the java executable in the right place
(by default the kernel expects to find it at /usr/bin/java).
Also, it might help to take that last s off of classs if that is
really the way it looks in your bashrc.

--



 
 
 

Java Kernel Support can't find class in .class file

Post by Paul Cummin » Tue, 24 Dec 1996 04:00:00


I went back and had a look at my /etc/bashrc and it wasn't even
pointing to the right directory, I'd missed the lib/ and the current
directory wasn't in the path either.

Thanks for answering.
--
=============== ==============================================
Paul Cummings   "That's an awful lot of ships." --Ivanova

=Linux=v2.0.27= ==============================================

 
 
 

1. IBM JAVA problem panic: CL: Can't find class java.lang.NoClassDefFoundError IOT

Hi,

i can launch java full version "J2RE 1.2.2 IBM build ca122-20011213"      
but i can't launch any java program i have
*** panic: CL: Can't find class java.lang.NoClassDefFoundError.    
./xap1[29]: 40166 Interruption de IOT/Abandon(coredump)            
If i tried with JDK1.1.8 that is ok.
Could you say me where is my mistake

Thanks
Philippe

2. General VPN question

3. Java 'can't find class' error

4. How do I create positional data fields in ksh

5. Fax modems -- class 1, class 2, class 2.0 -- whats going on?

6. ARCserveIT on RH 7.2

7. Simple .java file won't compile - Permission to write .class file denied

8. Using Kickstart

9. problem running Java Applets on linux - threads: cannot find class java/lang/Thread ????

10. Isn't It Easy To Change From a Class-C To a Class-B Net ?

11. Per-class upload clauses nodirs by class - HOWTO doesn't (wu v2.6.1)

12. Any Canned Class code?

13. 3 .class files generated for 1 .java file