LinuxQuestions.org
Visit Jeremy's Blog.
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 09-03-2006, 08:31 AM   #1
WayneS
Member
 
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?

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

Rep: Reputation: Disabled
Quote:
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 http://java.sun.com 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, 10:41 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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, 12:10 PM   #4
WayneS
Member
 
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, 12:41 PM   #5
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Try Eclipse then:

www.eclipse.org

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.
 
  


Reply


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 12:28 AM
Free C++ Compiler? BrutualTarget Programming 13 08-22-2004 04:04 PM
Free C/C++ Compiler for Windows? testforechozero Programming 6 08-19-2004 09:29 PM
Free C++ Compiler leroy27336 Programming 10 11-13-2003 09:14 PM
best free C++ compiler bobbinbrisco Programming 1 07-22-2001 04:18 PM

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

All times are GMT -5. The time now is 02:31 PM.

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