Where can I get GCJ for Solaris 11?


 
Thread Tools Search this Thread
Top Forums Programming Where can I get GCJ for Solaris 11?
# 1  
Old 06-29-2012
Where can I get GCJ for Solaris 11?

Hi friends,
I hope everyone is fine and doing well. I've heard and read that gcj converts java bytecode into machine code(executable), is that right? And could you please guide me with the installation of gcj on Solaris 11 machine. And could you please also tell me how to compile a simple java bytecode into an executable? e.g.
Code:
 
 
public class Hello_Java
{
            public static void main( String args[] )
            {
                     System.out.println( "Hello, Java!" );
            }
}

Code:
 
javac Hello_Java.java

Now how to compile this .class file into an executable machine code file, e.g. a.out file????
Looking forward to your wonderful replies!
Thanks in advance!
# 2  
Old 06-29-2012
I believe that you will have to built it yourself. It does not come with any of the Oracle Solaris 11 packages nor is it available on SunFreeware.
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

2. Solaris

application compiled on solaris 10 throwing error when executed on solaris 9

I have compiled my application on Solaris 10 with following description SunOS ldg1 5.10 Generic_138888-03 sun4v sparc SUNW,Sun-Blade-T6320 The compiler is Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25 But when installing the application on Solaris 9 SunOS odcarch02 5.9... (2 Replies)
Discussion started by: ash_bit2k2
2 Replies
Login or Register to Ask a Question