Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 09-03-2006, 09:31 AM   #1
Registered: Sep 2006
Distribution: SuSE 10.1
Posts: 30

Rep: Reputation: 15
Free java compiler

I'm moving from windows to Linux. This is a daunting task to say the least. Most of the software I use everyday, I wrote myself. I want to rewrite that software in linux and I think that java is my best choice.

First, am I correct in assuming that my java programs will run in both windows and linux (I'm writing these for KDE, not command line)?

Second, I've never used java but am familiar with C++ and C#.

Now I just need a good, easy to use compiler.

Where can I get one?

Old 09-03-2006, 09:37 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Originally Posted by WayneS
First, am I correct in assuming that my java programs will run in both windows and linux (I'm writing these for KDE, not command line)?
Generally, yes. There might be some things that you need to be aware of, but I'm not sure. Java also has its own graphical toolkit called Swing that you can use, but I don't know about using Qt with Java.

You can get Sun's JDK from and the compiler is part of that. Your distribution may have its own package for the JDK, so you may want to check first.
Old 09-03-2006, 11:41 AM   #3
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,716

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
If you are looking for and IDE, not just a command line compiler, there is a large choice of free ones for Java, I would recommend Sun Java Studio Creator or NetBeans.

Other choices are eclipse, BlueJ, JCreator and many others.
Old 09-03-2006, 01:10 PM   #4
Registered: Sep 2006
Distribution: SuSE 10.1
Posts: 30

Original Poster
Rep: Reputation: 15
I looked at Sun Java Studio Creator, it says its for "Linux Redhat Fedora Core 3 Platform". I am on slackware, will it still work for me?

I also looked at netbeans the other day and it did nothing but confuse me.
Old 09-03-2006, 01:41 PM   #5
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Try Eclipse then:

Read here just a few reasons why using Eclipse is a good idea. A programmer can be many times more productive using a powerful IDE as Eclipse, in my honest opinion. There are many other reasons for using Eclipse indeed. I've no experience with Sun Java Studio, but Netbeans is pretty awesome too. Remember to install JSK first. I think most IDE's will need J2SDK already installed in order to run.

If you find problems installing J2SDK, search this forum. I've answered that questions many times. There are good instructions at Sun's homepage as well.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Free C++ Compiler? JudasMaccabeus Linux - Software 2 11-03-2005 01:28 AM
Free C++ Compiler? BrutualTarget Programming 13 08-22-2004 05:04 PM
Free C/C++ Compiler for Windows? testforechozero Programming 6 08-19-2004 10:29 PM
Free C++ Compiler leroy27336 Programming 10 11-13-2003 10:14 PM
best free C++ compiler bobbinbrisco Programming 1 07-22-2001 05:18 PM > Forums > Non-*NIX Forums > Programming

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

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