LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-30-2005, 05:34 PM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Talking i like java


I have seen packages that came with my Linux install for Java programming. How can I use these and learn about them. Is there a way to compile Java into machine langauge? Are there compilers that come with Linux for Java?
 
Old 08-30-2005, 06:03 PM   #2
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
1) Start learning the syntax. Pick up a book or read at java.sun.com
2) Yes, gcj which is a part of the gcc family of compilers can make Java code into a native executable.
3) Yes, gcj and the compiler in Sun's Java SDK.
 
Old 08-30-2005, 07:35 PM   #3
boxerboy
Member
 
Registered: Jul 2005
Distribution: ubuntu5.04, ubuntu5.10, suse9.3, mandrake10.1, mandriva2006(beta), FC1-4, redhat9.0, debian sarge
Posts: 519

Rep: Reputation: 32
Quote:
Originally posted by kjordan
1) Start learning the syntax. Pick up a book or read at java.sun.com
2) Yes, gcj which is a part of the gcc family of compilers can make Java code into a native executable.
3) Yes, gcj and the compiler in Sun's Java SDK.

they went and changed the name again back to JDK. about a week ago i went looking for SDK but found out they changed it back. oh and that damn java site gets confusing so please read carefully.
 
Old 08-31-2005, 12:05 AM   #4
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
fakie_flip, a couple weeks ago I wrote a little help doc that you might find useful:
http://www.simisen.com/jmg/pmwiki/pm...NUJavaOnFedora
 
Old 08-31-2005, 07:53 AM   #5
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Original Poster
Rep: Reputation: 85
JDK from java.sun.com compiles java source code into bytecode. if that is what you are talking about, it has to have the java virtual machine to interpret the code.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 03:04 AM
Web start java not working (java works fine) powadha Debian 5 06-05-2004 12:57 PM
Updated Java... now java apps dont work zidane2010 Linux - Software 6 05-04-2004 08:02 PM
2 Questions: java calling system commands? PERL vs Java? randomx Programming 28 11-28-2003 08:24 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration