Author Topic: Need help with installing Java on Linux  (Read 1859 times)

0 Members and 1 Guest are viewing this topic.

Offline Computer-Lab in Basement

  • The needs of the many outweigh the needs of the few.
  • * Elevated Elder
  • Thread Starter
  • Posts: 3026
  • Location: NCC-1701, USS Enterprise
  • Live long and prosper
Need help with installing Java on Linux
« on: Sat, 14 November 2009, 19:39:58 »
I just loaded Ubuntu on one of my computers, and one of the online games i play requires Java to run, and being new to Linux, i cannot figure out how to install Java with the instructions that are provided. Could anyone help me?
tp thread is tp thread
Sometimes it's like he accidentally makes a thread instead of a google search.

IBM Model M SSK | IBM Model F XT | IBM Model F 122 | IBM Model M 122 | Ducky YOTD 2012 w/ blue switches | Poker II w/ Blue switches | Royal Kludge RK61 w/ Blue switches

Offline pfink

  • Posts: 196
Need help with installing Java on Linux
« Reply #1 on: Sat, 14 November 2009, 20:34:29 »
Quote from: Computer-Lab in Basement;132526
I just loaded Ubuntu on one of my computers, and one of the online games i play requires Java to run, and being new to Linux, i cannot figure out how to install Java with the instructions that are provided. Could anyone help me?


Check here:

https://help.ubuntu.com/community/Java

Offline tamasrepus

  • Posts: 33
    • http://blog.samat.org/
Need help with installing Java on Linux
« Reply #2 on: Sat, 14 November 2009, 21:41:09 »
Do what the page pfink links to says.

Most likely, you'll want either the OpenJDK JVM or Sun's JVM (the former tends to work better on Linux, but Sun's JVM is still the one with the most compatible with everything).

It'd not hurt to tell us what game you're trying to install, and link to the instructions.
Noppoo Choc Mini w/ Cherry MX Brown
Happy Hacking Keyboard Professional 2, Black w/labels
Topre Realforce 87U, 55g
ABS M1
Happy Hacking Keyboard Lite 2
Logitech diNovo Edge
Sun Type 6 USB

Offline ch_123

  • * Exalted Elder
  • Posts: 5860
Need help with installing Java on Linux
« Reply #3 on: Sun, 15 November 2009, 05:57:32 »
I assume that you are running Ubuntu. Last I checked you needed to run -

'sudo apt-get install ubuntu-restricted-extras'

Offline Computer-Lab in Basement

  • The needs of the many outweigh the needs of the few.
  • * Elevated Elder
  • Thread Starter
  • Posts: 3026
  • Location: NCC-1701, USS Enterprise
  • Live long and prosper
Need help with installing Java on Linux
« Reply #4 on: Sun, 15 November 2009, 18:01:42 »
I need to install Sun Java in order to get my game to work, and here are the instructions that are provided:

http://www.java.com/en/download/help/5000010500.xml#selfextracting

I dont know the root password that allows me to use the "su" command.  Do i need to use these exact instructions to get this to work?
tp thread is tp thread
Sometimes it's like he accidentally makes a thread instead of a google search.

IBM Model M SSK | IBM Model F XT | IBM Model F 122 | IBM Model M 122 | Ducky YOTD 2012 w/ blue switches | Poker II w/ Blue switches | Royal Kludge RK61 w/ Blue switches

Offline tamasrepus

  • Posts: 33
    • http://blog.samat.org/
Need help with installing Java on Linux
« Reply #5 on: Sun, 15 November 2009, 18:23:15 »
I missed that you mentioned that it's an online game. That means you need the Java plugin? (You're not providing us with enough information to really help you)

If you're using Firefox, run this command in a terminal:

sudo aptitude install sun-java6-plugin

This will install the plugin you presumably need for the game, and automatically pull in the Java JRE/etc.

By the way, when working with Linux it's best you get software through your package management system (i.e. the Ubuntu repositories) rather than downloading and installing things yourself.
Noppoo Choc Mini w/ Cherry MX Brown
Happy Hacking Keyboard Professional 2, Black w/labels
Topre Realforce 87U, 55g
ABS M1
Happy Hacking Keyboard Lite 2
Logitech diNovo Edge
Sun Type 6 USB

Offline Computer-Lab in Basement

  • The needs of the many outweigh the needs of the few.
  • * Elevated Elder
  • Thread Starter
  • Posts: 3026
  • Location: NCC-1701, USS Enterprise
  • Live long and prosper
Need help with installing Java on Linux
« Reply #6 on: Sun, 15 November 2009, 18:25:53 »
Quote from: tamasrepus;132748
I missed that you mentioned that it's an online game. That means you need the Java plugin? (You're not providing us with enough information to really help you)

If you're using Firefox, run this command in a terminal:

sudo aptitude install sun-java6-plugin

This will install the plugin you presumably need for the game, and automatically pull in the Java JRE/etc.

By the way, when working with Linux it's best you get software through your package management system (i.e. the Ubuntu repositories) rather than downloading and installing things yourself.


Thanks for the help, and I'll try to be more informing of my situation.
tp thread is tp thread
Sometimes it's like he accidentally makes a thread instead of a google search.

IBM Model M SSK | IBM Model F XT | IBM Model F 122 | IBM Model M 122 | Ducky YOTD 2012 w/ blue switches | Poker II w/ Blue switches | Royal Kludge RK61 w/ Blue switches

Offline Computer-Lab in Basement

  • The needs of the many outweigh the needs of the few.
  • * Elevated Elder
  • Thread Starter
  • Posts: 3026
  • Location: NCC-1701, USS Enterprise
  • Live long and prosper
Need help with installing Java on Linux
« Reply #7 on: Sun, 15 November 2009, 18:47:52 »
I have another little mishap here, the installer came up an agreement, and I don't know how to accept the agreement and proceed with the installation. Here is a screenshot.

This may make me look stupid, but I just want to install Java and play Runescape.  How do I solve this problem?
tp thread is tp thread
Sometimes it's like he accidentally makes a thread instead of a google search.

IBM Model M SSK | IBM Model F XT | IBM Model F 122 | IBM Model M 122 | Ducky YOTD 2012 w/ blue switches | Poker II w/ Blue switches | Royal Kludge RK61 w/ Blue switches

Offline bigpook

  • Posts: 1723
Need help with installing Java on Linux
« Reply #8 on: Sun, 15 November 2009, 18:55:00 »
Use the tab key to 'tab' to the OK button, then press enter.
HHKB Pro 2 : Unicomp Spacesaver : IBM Model M : DasIII    

Offline Computer-Lab in Basement

  • The needs of the many outweigh the needs of the few.
  • * Elevated Elder
  • Thread Starter
  • Posts: 3026
  • Location: NCC-1701, USS Enterprise
  • Live long and prosper
Need help with installing Java on Linux
« Reply #9 on: Sun, 15 November 2009, 19:05:58 »
Thank you all so much.
tp thread is tp thread
Sometimes it's like he accidentally makes a thread instead of a google search.

IBM Model M SSK | IBM Model F XT | IBM Model F 122 | IBM Model M 122 | Ducky YOTD 2012 w/ blue switches | Poker II w/ Blue switches | Royal Kludge RK61 w/ Blue switches

Offline ch_123

  • * Exalted Elder
  • Posts: 5860
Need help with installing Java on Linux
« Reply #10 on: Mon, 16 November 2009, 12:00:26 »
Quote from: Computer-Lab in Basement;132744
II dont know the root password that allows me to use the "su" command.  Do i need to use these exact instructions to get this to work?


In ubuntu, the 'su' command is disabled by default. You are instead encouraged to type 'sudo' in front of any command you need root privelidges for.Typing 'sudo -s' or 'sudo su' will do the same thing as 'su', but you don't really need to use it all that commonly. (Bare in mind that if you run a command with sudo, the password is saved for the next 10 mins so that if you need to run more than one sudo command, you only need to type the password twice.

Offline AndrewZorn

  • Posts: 1086
Need help with installing Java on Linux
« Reply #11 on: Mon, 16 November 2009, 12:03:01 »
ubuntu doesnt even really have root set up, by default...
you are getting the password wrong because it does not have one yet

Offline bigpook

  • Posts: 1723
Need help with installing Java on Linux
« Reply #12 on: Mon, 16 November 2009, 12:26:26 »
If you want to set the root password do the following.

From the command line.

Type sudo password

It will ask you for your password; once entered it will ask you to Enter new UNIX password and then to retype it.

Once done, you can just su to root and be lord, god, king of the machine. You even get a bash prompt that ends in an octothorpe. How cool is that.
HHKB Pro 2 : Unicomp Spacesaver : IBM Model M : DasIII    

Offline itlnstln

  • Posts: 7048
Need help with installing Java on Linux
« Reply #13 on: Mon, 16 November 2009, 12:31:53 »
Quote from: bigpook;132907
octothorpe. How cool is that.

What's really cool is that I learned a new word today.


Offline itlnstln

  • Posts: 7048
Need help with installing Java on Linux
« Reply #14 on: Mon, 16 November 2009, 12:36:06 »
Speaking of sudo... some sudo news not really about sudo... kinda.


Offline msiegel

  • Posts: 1230
Need help with installing Java on Linux
« Reply #15 on: Mon, 16 November 2009, 13:28:19 »
java quick install:

"sudo make me a tall latte"

use in the command line of any starbucks.

the build happens in the background, but a prompt will come back:
$3

Filco Zero (Fukka) AEKII sliders and keycaps * Filco Tenkeyless MX brown * IBM F/AT parts: modding
Model F Mod Log * Open Source Generic keyboard controller