Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

how to compile and run java programs

Solaris


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 03-02-2009
mayahari mayahari is offline
Registered User
 
Join Date: Feb 2009
Last Activity: 28 September 2009, 5:04 AM EDT
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
how to compile and run java programs

Hi,
I have installed Solaris 10 on a VMware. How to compile a java program as there is no javac in 'bin' directory. Thanks in advance for answers and sorry if the question is soo basic.
Sponsored Links
    #2  
Old Unix and Linux 03-02-2009
kduffin's Unix or Linux Image
kduffin kduffin is offline Forum Advisor  
UN1X
 
Join Date: Nov 2003
Last Activity: 29 June 2017, 11:12 AM EDT
Location: Wandering the world
Posts: 484
Thanks: 0
Thanked 3 Times in 2 Posts
Do you perhaps only have the JRE installed? If so, you won't find a javac binary. Cheers, Keith
Sponsored Links
    #3  
Old Unix and Linux 03-02-2009
reborg's Unix or Linux Image
reborg reborg is offline Forum Advisor  
Administrator Emeritus
 
Join Date: Mar 2005
Last Activity: 29 March 2012, 7:00 PM EDT
Location: Ireland
Posts: 4,464
Thanks: 0
Thanked 13 Times in 11 Posts
check in /usr/java for a jdk.
    #4  
Old Unix and Linux 03-03-2009
incredible incredible is offline Forum Advisor  
Registered User
 
Join Date: May 2008
Last Activity: 24 August 2014, 5:15 AM EDT
Location: SINGAPORE.. The "FINE" City
Posts: 2,693
Thanks: 1
Thanked 19 Times in 19 Posts
set the path in the .profile
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how can compile cpp code containing references to java classes surinder Programming 1 10-07-2008 10:44 AM
compile java with GUI on unix system/putty finalight Programming 0 05-22-2008 04:41 AM
How to compile pro*c, C programs sweta Programming 1 05-19-2006 03:39 AM
How to compile and run C++ programs in UNIX environment? Kahuashi Programming 5 05-28-2002 01:27 AM
How to Compile programs using cc?? spotanddot Programming 7 07-09-2001 07:51 AM



All times are GMT -4. The time now is 05:25 PM.