The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 01:11 PM
How to set path for java in UNIX subhotech UNIX for Dummies Questions & Answers 2 07-12-2007 10:57 AM
java on unix parmeet UNIX for Advanced & Expert Users 1 01-31-2007 09:33 AM
newbie need help to run java in UNIX uci UNIX for Dummies Questions & Answers 5 03-10-2005 02:01 AM
Executing UNIX command from java on NT CJ Walt UNIX for Dummies Questions & Answers 1 06-25-2003 01:39 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-17-2003
leotopia leotopia is offline
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!!
  #2 (permalink)  
Old 07-17-2003
leotopia leotopia is offline
Registered User
  
 

Join Date: Jul 2003
Posts: 3
anyone knows how to do?
  #3 (permalink)  
Old 07-17-2003
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
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 (permalink)  
Old 07-17-2003
leotopia leotopia is offline
Registered User
  
 

Join Date: Jul 2003
Posts: 3
thanx cbkihong!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0