Running Java in Linux Terminal

Chris Wilson rhn_list at yepher.com
Tue Apr 27 22:27:22 UTC 2004


Make sure java is in your path. I assume when you just type java you get
an error that says: "command not found".



On Tue, 2004-04-27 at 16:25, Dinh Tien Tuan Anh wrote:
> 
> 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
> 





More information about the redhat-list mailing list