1

I'm new to ubuntu (but i like it a lot), so please bear with me.

I want to install Java, but which one should I install?

  • The RPM or the normal one?
  • 32bit or 64bit?

From what I know, even windows 64 bit is still using java 32 bit. This thing make me confused.

I'm asking here just to make sure everything is going to be all right, because I will need my system to be ready to code (eclipse :D) pretty soon, so I want to avoid any trouble now.

Thanks for your help, and sorry for my basic question.

7
  • I don't think there is a reason not to use 64-bit Java on 64-bit OS, be it Linux or Windows.
    – MadMike
    Oct 7, 2013 at 13:53
  • @MadMike because im new to ubuntu, i prefer to avoid using terminal for now. Thanks for your help :D
    – Blaze Tama
    Oct 7, 2013 at 13:55
  • However, im still confuse, which one should i download? The RPM or the other one?
    – Blaze Tama
    Oct 7, 2013 at 13:55
  • Use the DEB-files whenever possible
    – MadMike
    Oct 7, 2013 at 14:27
  • 1
    If you need to install the latest eclipse, usw this [article] ( askubuntu.com/questions/26632/how-to-install-eclipse)
    – MadMike
    Oct 7, 2013 at 15:46

2 Answers 2

3

If you are using Ubuntu, you don't need to worry about this. Open the software center and search for eclipse. The installation of eclipse will also take care of the Java jdk.

4
  • wow, this is a good news, even better than windows :D I will try it out and let you know what happened. Thanks :D
    – Blaze Tama
    Oct 7, 2013 at 13:56
  • And one more question, will it automatically choose what version i download? (like indigo, juno etc)
    – Blaze Tama
    Oct 7, 2013 at 13:58
  • the version of eclipse will be the latest one in the Ubuntu repository. So, you will not given a chance to select the version. in 13.04 it is Indigo, afaik
    – Anwar
    Oct 7, 2013 at 14:07
  • @madmike when someone says he need eclipse to code java, you don't need much intelligence to infer that he needs jdk. fyi, without jdk you can't develop java code
    – Anwar
    Oct 7, 2013 at 15:26
0

Just open a terminal and type

sudo apt-get install default-jre

Enter your pasdword and wait. Now you have the normal JRE on your computer.

Not the answer you're looking for? Browse other questions tagged .