LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2009, 03:49 AM   #1
xenomur
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Java Programming in Linux


Hello everyone,

I am very newbie on linux and java. Actually I am a .net programmer. I have been coding .net for 8 years. However I realized that I should learn java and linux. How can i start it ? Which is the best linux distro for java programming ? And also I want to know what the name of the best java ide on running linux. I wonder your opinion.

Thank you ...
 
Old 04-17-2009, 03:54 AM   #2
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Any linux distro will be good for Java development on general.

For Java IDE you can use Eclipse or Netbeans. I personally stick with Emacs
 
Old 04-17-2009, 12:35 PM   #3
om1
LQ Newbie
 
Registered: Apr 2009
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
personally i think any distro would work great for it. the biggist thing is to find one that you fill comfortable with. i have found and like ubuntu as my main distro and operating system. as for ide i just use emacs myself never really liked ide's, but a friend of mine took a java class an used Eclipse in the class(but the class used windows xp as an operating system).
 
Old 04-18-2009, 01:10 AM   #4
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by Zmyrgel View Post
[...] I personally stick with Emacs
Then how do you use gcj and maybe ant in general? Three to five years ago I had trouble with gcj. I also prefer emacs for everything but am having certain trouble with it lately.
 
Old 04-18-2009, 01:24 AM   #5
Maddy_linux
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by dchmelik View Post
Then how do you use gcj and maybe ant in general? Three to five years ago I had trouble with gcj. I also prefer emacs for everything but am having certain trouble with it lately.
Hi,

As mentioned in the previous response, netbeans is the best IDE. But i use Vi editor because i find i got used to it, and since you are saying that you are new to linux, ubuntu is much preferred by most newbie's of linux because it more user friendly than other linux platforms. i did a google search for you on how to use ant to build the programs in netbeans,



http://amitksaha.blogspot.com/2008/0...-netbeans.html

I hope this should answer your questions.

Thanks,
Maddy
 
Old 04-18-2009, 01:45 AM   #6
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by Maddy_linux View Post
Hi,

[...]since you are saying that you are new to linux, ubuntu is much preferred by most newbie's of linux[....] i did a google search for you on how to use ant to build the programs in netbeans,



http://amitksaha.blogspot.com/2008/0...-netbeans.html

I hope this should answer your questions.

Thanks,
Maddy
I am not the original poster; I have used Slackware since '97... I just thought it would be fun to use emacs to use ant to use gcj someday. I would not be surprised if Netbeans already uses ant: Netbeans uses some kind of make process... but thanks for the response, maybe someone that likes Netbeans (even me, I admit) will get some help from it.
 
Old 04-18-2009, 03:19 AM   #7
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
I just write ant build file manually and use it from eshell. I could streamline the process a bit but it works for me so far.
I don't have complicated Java assignments yet the setup works so far.
I was going to use JDEE but for some reason it ceased to work so I'm using 'plain' emacs with my java.
 
Old 04-19-2009, 12:00 PM   #8
xenomur
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for your reply. I decided to use ubuntu and Netbeans 6.5.1. However there is a bug about installing netbeans 6.5 on ubuntu with gnome desktop. Is there anybody who could install netbeans on ubuntu without error ? By the way, I know that I can install netbeans 6.1 from synaptic, but I want to install the latest version.

Please ignore my english mistake

Thank you ...
 
Old 04-23-2009, 10:17 AM   #9
om1
LQ Newbie
 
Registered: Apr 2009
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
if it is a problem with gnome desktop you can try kubuntu or xubuntu... kubuntu uses kde desktop and xubuntu uses xfce desktop...
also the new version of ubuntu xubuntu and kubuntu has just been released today

Last edited by om1; 04-23-2009 at 10:19 AM.
 
Old 04-23-2009, 12:58 PM   #10
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
I never install the netbeans package from the repositories. As a rule it works fine enough, it is just that it makes the integration with mysql, tomcat and glassfish a little too secure for everyday coding purposes. Instead, I use the full netbeans pack from the netbeans site. Right now, I have 6.5.1 on Ubuntu and it is running fine so it is not clear what kind of bug you are referring to.

Last edited by jay73; 04-23-2009 at 01:01 PM.
 
Old 04-23-2009, 08:51 PM   #11
om1
LQ Newbie
 
Registered: Apr 2009
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
a little update...i installed the new version of ubuntu(9.04) earlier and in the repo it has netbeans 6.5
 
Old 04-24-2009, 07:52 AM   #12
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Linux has several different "flavors" of desktop software, from which you can pick and choose. (The classics are "KDE" and "gnome" but there are others.) This can present various issues for various programs, and this is in no wise limited to Java.

Nevertheless, you ought to be able to rely upon the distro-packagers to have worked out the details for you. If one packaging features a certain desktop, the package should also include (only) the versions of other packages that are properly prepared to work well with that desktop. Package names ought to reflect that, and since they will be different, you might have to "hunt around" a little bit.
 
  


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 Programming On Linux justmovedtolinux Linux - General 1 09-30-2008 12:26 PM
Java Programming in Linux alexgsummer Programming 35 03-29-2005 09:03 AM
java programming on linux cyborg_jt Programming 20 02-04-2004 06:42 PM
programming with java in linux? newbieX Linux - Newbie 9 12-30-2003 06:39 AM
Java programming in linux heming Linux - Newbie 4 02-28-2003 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 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