• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Installing LINUX

 
Greenhorn
Posts: 6
C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm thinking of installing linux in my pc as I've heard about the advantages of programming in linux than in windows.
Can you suggest me which version of linux is better for java coding and also the steps to install it.

Regards,
Nimit
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are many different Linux distributions. I'd go for one of the most popular, user-friendly ones, for example Ubuntu or Linux Mint, or Fedora Linux.

How exactly to install Java is different for different Linux distributions. First try it out, get used to it (Linux is not Windows, you'll need some time to get used to it!). Then search for specific instructions for how to install Java on your Linux version of choice.

For Java programming, I don't find that Linux has special advantages above Windows or Mac OS X. Java runs well on all of those operating systems.
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And Java runs the same on different flavours of Linux.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I consider that Linux affords a better programming environment in general than Windows. But that is because Linux comes with an ocean liner's load of text utilities, databases, servers, development support programs and free compilers and interpreters. Stuff that you'd have to either shell out money for or go haring off all over the place to find and install under Windows can be installed with a single command in most Linux distros. Plus, if you need to create VM's, Linux has no licensing issues. The thousandth VM costs no more than the first one and there are no per-server license documents to have to keep track of.

For Java development, there's less of an advantage. Eclipse runs about equally well under Windows or Linux, JVMs are freely available for both, and almost all servers are likewise available under both OS's. As are most popular IDEs, including the commercial ones.

I'll confess that Linux is my preferred operating system for production because being a Windows security administrator is a full-time job where failure is almost guaranteed, but for development work that doesn't matter as much. I spent several years happily developing stuff on Windows XP systems that ran under Solaris in production.

To the main question, however: I always recommend considering whatever Linux distro is popular in your town. All of the "name" distros are capable, but that way you'll have someone local to help you out with OS-related issues.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And the best part is you can even "try" it out online to see what exactly it is actually.
http://www.ubuntu.com/tour/en/

*There might be similar facilities for other flavors, but I am not aware of them.
 
Campbell Ritchie
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Many flavours can be downloaded as a “live CD” or similar. You can run it from the CD for as long as you like, and try it out, before installing anything.
If you do install Linux, I suggest you partition your hard disc as shown here, or even add another small partition mounted as /var. Then you can keep all your work in the /home partition and it will not be deleted if you reinstall Linux correctly.
reply
    Bookmark Topic Watch Topic
  • New Topic