Re: I can compile file1.java but cannot run file1.class in Linux.

1999-12-27 Thread Chris Abbey
then you should use the same commands in Linux as you used in winblows: 'java file1', not 'java file1.class'. This second is looking for a class named 'class' in a package 'file1'. p.s. I'd recommend upgrading to one of the 1.1.8 vms available on the web. At 11:07 12/27/99 -0800, [EMAIL PROTECTE

RE: I can compile file1.java but cannot run file1.class in Linux

1999-12-27 Thread Kontorotsui
On 27-Dec-99 [EMAIL PROTECTED] wrote: > After that I can compile > a java file (javac file1.java) but I cannot run it (java file1.class). I > don't see any help included with jdk. I really need your help. What about java file1? :) The class extension must not be included, this is true if you run

Re: I can compile file1.java but cannot run file1.class in Linux.

1999-12-27 Thread Artur Biesiadowski
[EMAIL PROTECTED] wrote: > After that I can compile > a java file (javac file1.java) but I cannot run it (java file1.class). I > don't see any help included with jdk. I really need your help. You have to type java file1 not java file1.class Artur -

Re: I can compile file1.java but cannot run file1.class in Linux.

1999-12-27 Thread Thomas Bonk
On Mon, Dec 27, 1999 at 11:07:46AM -0800, [EMAIL PROTECTED] wrote: > I have a question about Java in Linux. I install jdk-1.1.5-8.i386.rpm in > Linux by typing rpm -ivh jdk-1.1.5-8.i386.rpm. After that I can compile > a java file (javac file1.java) but I cannot run it (java file1.class). I > don't