RE: Running Java in Linux Terminal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The java -cp .... where the .... is your classpath.   It specifies the
locations of all your classes

What is the error you are getting when you try to run your java program?

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Dinh Tien Tuan Anh
Sent: Wednesday, April 28, 2004 1:58 PM
To: redhat-list@xxxxxxxxxx
Subject: RE: Running Java in Linux Terminal




  Could you explain a little bit clearlier (howtos), I don't know about
that 
classpath thing.

>From: "Ryan Golhar" <ryangolhar@xxxxxxxxxxx>
>Reply-To: golharam@xxxxxxxxx,General Red Hat Linux discussion list
><redhat-list@xxxxxxxxxx>
>To: "'General Red Hat Linux discussion list'" <redhat-list@xxxxxxxxxx>
>Subject: RE: Running Java in Linux Terminal
>Date: Tue, 27 Apr 2004 19:23:40 -0400
>
>I think this would be better suited in a java discussion list, but 
>depending on the error you get, make sure the classes your app needs 
>are availabie in your classpath.
>
>
>-----Original Message-----
>From: redhat-list-bounces@xxxxxxxxxx 
>[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Dinh Tien Tuan Anh
>Sent: Tuesday, April 27, 2004 5:25 PM
>To: redhat-list@xxxxxxxxxx
>Subject: Running Java in Linux Terminal
>
>
>
>
>
>I'm using NetBeans as the Java editor now. But I can't run any program 
>in Terminal (by typing java -cp ....). I don't know what I need to be 
>able do
>that. In my school, I don't need to modify anything in the Java class,
>just
>type java -cp . <File> and run . Please tell me  what I lack.
>
>(I hit "man java" but no command for java found)
>
>_________________________________________________________________
>Tired of 56k? Get a FREE BT Broadband connection 
>http://www.msn.co.uk/specials/btbroadband
>
>
>--
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list
>
>
>--
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux