• Post Reply Bookmark Topic Watch Topic
  • New Topic

run java app  RSS feed

 
Val Dra
Ranch Hand
Posts: 439
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi would any one be kind to tell me how to run java app from linux box ? I need an exact command is it the same as in windows ? sorry if it's obviouse i don't use Unix . Thanks.
 
Tim Holloway
Saloon Keeper
Posts: 18792
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You've got it. It's the same as in Windows:
java MyClassName
or
java -jar MyClassJar.jar
Case sensitive, naturally.
I think there are some shells out there that will check the appfile and when they see the "CAFEBABE" signature will automatically feed the class to the Java program, but the above certainly works.
[This message has been edited by Tim Holloway (edited July 31, 2001).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!