geekhack
geekhack Community => Other Geeky Stuff => Topic started by: Computer-Lab in Basement 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?
-
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
-
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.
-
I assume that you are running Ubuntu. Last I checked you needed to run -
'sudo apt-get install ubuntu-restricted-extras'
-
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 (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?
-
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.
-
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.
-
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?
-
Use the tab key to 'tab' to the OK button, then press enter.
-
Thank you all so much.
-
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.
-
ubuntu doesnt even really have root set up, by default...
you are getting the password wrong because it does not have one yet
-
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.
-
octothorpe. How cool is that.
What's really cool is that I learned a new word today.
-
Speaking of sudo... some sudo news (http://arstechnica.com/open-source/news/2009/11/microsofts-psuedo-sudo-patent-doesnt-really-cover-sudo.ars) not really about sudo... kinda.
-
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