The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
login to unix using java dowell UNIX for Advanced & Expert Users 2 05-18-2008 10:11 AM
How to set path for java in UNIX subhotech UNIX for Dummies Questions & Answers 2 07-12-2007 07:57 AM
java on unix parmeet UNIX for Advanced & Expert Users 1 01-31-2007 06:33 AM
newbie need help to run java in UNIX uci UNIX for Dummies Questions & Answers 5 03-09-2005 11:01 PM
Executing UNIX command from java on NT CJ Walt UNIX for Dummies Questions & Answers 1 06-25-2003 10:39 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-17-2003
Registered User
 

Join Date: Jul 2003
Posts: 3
Talking run a java file on UNIX?

HI, I want to run my .java file on a SunOS 5.8 Unix machine. The java file is writen with Ready to Program (Similar to Jbuilder) on a PC.
Thanks!!
__________________
full of surprises
Forum Sponsor
  #2  
Old 07-17-2003
Registered User
 

Join Date: Jul 2003
Posts: 3
anyone knows how to do?
__________________
full of surprises
  #3  
Old 07-17-2003
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,477
In general,

javac <MainClassName>.java
java <MainClassName>

Replace <MainClassName> with the name of the starting class (with main()).

Of course, you need to install JDK for this to work.
  #4  
Old 07-17-2003
Registered User
 

Join Date: Jul 2003
Posts: 3
thanx cbkihong!
__________________
full of surprises
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0