Unable To Run minecraft.jar in XFCE4?
Tags:
- Java
- Chrome OS
- Linux
- Minecraft
- Debian
- Chromebook
Last response: in Linux/Free BSD
XtremeAero426
September 12, 2014 10:50:22 AM
Hi there. Welcome to Linux.
Unlike windows or Mac, In Linux the standard way to install software is through the repository.
First install Java (openJDK 7 is reccomended) or check if already installed.. Open the terminal and type :
(from here you can try to run the mincraft jar with
However it is recommended that you use the unoffical installer, as this will keep minecraft up to date. Then add this [unoffical] repository and install minecraft-installer
https://launchpad.net/~minecraft-installer-peeps/+archi...
Unlike windows or Mac, In Linux the standard way to install software is through the repository.
First install Java (openJDK 7 is reccomended) or check if already installed.. Open the terminal and type :
java -version
sudo apt-get install openjdk-7-jre
(from here you can try to run the mincraft jar with
java minecraft.jar
However it is recommended that you use the unoffical installer, as this will keep minecraft up to date. Then add this [unoffical] repository and install minecraft-installer
https://launchpad.net/~minecraft-installer-peeps/+archi...
sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer
sudo apt-get update
sudo apt-get install minecraft-installer
-
Reply to skittle
m
0
l
XtremeAero426
September 12, 2014 11:47:07 AM
skittle said:
Hi there. Welcome to Linux.Unlike windows or Mac, In Linux the standard way to install software is through the repository.
First install Java (openJDK 7 is reccomended) or check if already installed.. Open the terminal and type :
java -version
sudo apt-get install openjdk-7-jre
(from here you can try to run the mincraft jar with
java minecraft.jar
However it is recommended that you use the unoffical installer, as this will keep minecraft up to date. Then add this [unoffical] repository and install minecraft-installer
https://launchpad.net/~minecraft-installer-peeps/+archi...
sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer
sudo apt-get update
sudo apt-get install minecraft-installer
I've already installed the latest java. Also, [java minecraft.jar] gives me the error that it can't find the file.
-
Reply to XtremeAero426
m
0
l
Related resources
- unable to run call of duty ghost - Forum
- GTX 580 and GTX 580 SC: Unable to Run SLI - Forum
- unable to run wolfestien new order - Forum
- Unable to run Crysis 2 at 1080p - Forum
- Unable to run D3/SC2 fullscreen anymore, D3D Error - Forum
XtremeAero426
September 12, 2014 11:58:28 AM
skittle said:
Are you in the directory with the minecraft.jar when you try to run the command? Really though you should just try to use the minecraft-installer package if you are having trouble... it even adds a nice icon to your launcher.When I run [sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer] I get this error:
[apt-get-repository: command not found]
-
Reply to XtremeAero426
m
0
l
XtremeAero426
September 12, 2014 1:02:59 PM
XtremeAero426 said:
skittle said:
Hi there. Welcome to Linux.Unlike windows or Mac, In Linux the standard way to install software is through the repository.
First install Java (openJDK 7 is reccomended) or check if already installed.. Open the terminal and type :
java -version
sudo apt-get install openjdk-7-jre
(from here you can try to run the mincraft jar with
java minecraft.jar
However it is recommended that you use the unoffical installer, as this will keep minecraft up to date. Then add this [unoffical] repository and install minecraft-installer
https://launchpad.net/~minecraft-installer-peeps/+archi...
sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer
sudo apt-get update
sudo apt-get install minecraft-installer
I've already installed the latest java. Also, [java minecraft.jar] gives me the error that it can't find the file.
You're trying to run it incorrectly.
What you're trying to have Java do is find a Java class named "minecraft.jar" on the classpath and start executing at the Main entry point in that class. No such thing exists.
What you have is an entire Java application bundled into a Java archive (jar, which is just a zip file with a different file extension). All of the java class files that it needs are contained within it. The entrypoint of this application is specified in a file inside of this archive. What you need to do instead is tell Java to execute the jar file and use the metadata contained within to figure out where to start. Do this as follows:
java -jar minecraft.jar
that was easy!
-
Reply to Pinhedd
m
0
l
XtremeAero426
September 15, 2014 8:00:51 AM
Pinhedd said:
XtremeAero426 said:
skittle said:
Hi there. Welcome to Linux.Unlike windows or Mac, In Linux the standard way to install software is through the repository.
First install Java (openJDK 7 is reccomended) or check if already installed.. Open the terminal and type :
java -version
sudo apt-get install openjdk-7-jre
(from here you can try to run the mincraft jar with
java minecraft.jar
However it is recommended that you use the unoffical installer, as this will keep minecraft up to date. Then add this [unoffical] repository and install minecraft-installer
https://launchpad.net/~minecraft-installer-peeps/+archi...
sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer
sudo apt-get update
sudo apt-get install minecraft-installer
I've already installed the latest java. Also, [java minecraft.jar] gives me the error that it can't find the file.
You're trying to run it incorrectly.
What you're trying to have Java do is find a Java class named "minecraft.jar" on the classpath and start executing at the Main entry point in that class. No such thing exists.
What you have is an entire Java application bundled into a Java archive (jar, which is just a zip file with a different file extension). All of the java class files that it needs are contained within it. The entrypoint of this application is specified in a file inside of this archive. What you need to do instead is tell Java to execute the jar file and use the metadata contained within to figure out where to start. Do this as follows:
java -jar minecraft.jar
that was easy!
I got the error: [Unable to access jarfile minecraft.jar]
-
Reply to XtremeAero426
m
0
l
XtremeAero426 said:
Pinhedd said:
XtremeAero426 said:
skittle said:
Hi there. Welcome to Linux.Unlike windows or Mac, In Linux the standard way to install software is through the repository.
First install Java (openJDK 7 is reccomended) or check if already installed.. Open the terminal and type :
java -version
sudo apt-get install openjdk-7-jre
(from here you can try to run the mincraft jar with
java minecraft.jar
However it is recommended that you use the unoffical installer, as this will keep minecraft up to date. Then add this [unoffical] repository and install minecraft-installer
https://launchpad.net/~minecraft-installer-peeps/+archi...
sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer
sudo apt-get update
sudo apt-get install minecraft-installer
I've already installed the latest java. Also, [java minecraft.jar] gives me the error that it can't find the file.
You're trying to run it incorrectly.
What you're trying to have Java do is find a Java class named "minecraft.jar" on the classpath and start executing at the Main entry point in that class. No such thing exists.
What you have is an entire Java application bundled into a Java archive (jar, which is just a zip file with a different file extension). All of the java class files that it needs are contained within it. The entrypoint of this application is specified in a file inside of this archive. What you need to do instead is tell Java to execute the jar file and use the metadata contained within to figure out where to start. Do this as follows:
java -jar minecraft.jar
that was easy!
I got the error: [Unable to access jarfile minecraft.jar]
then the file is not in the same folder in which you are invoking the JVM
-
Reply to Pinhedd
m
0
l
XtremeAero426
September 15, 2014 12:06:08 PM
Pinhedd said:
XtremeAero426 said:
Pinhedd said:
XtremeAero426 said:
skittle said:
Hi there. Welcome to Linux.Unlike windows or Mac, In Linux the standard way to install software is through the repository.
First install Java (openJDK 7 is reccomended) or check if already installed.. Open the terminal and type :
java -version
sudo apt-get install openjdk-7-jre
(from here you can try to run the mincraft jar with
java minecraft.jar
However it is recommended that you use the unoffical installer, as this will keep minecraft up to date. Then add this [unoffical] repository and install minecraft-installer
https://launchpad.net/~minecraft-installer-peeps/+archi...
sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer
sudo apt-get update
sudo apt-get install minecraft-installer
I've already installed the latest java. Also, [java minecraft.jar] gives me the error that it can't find the file.
You're trying to run it incorrectly.
What you're trying to have Java do is find a Java class named "minecraft.jar" on the classpath and start executing at the Main entry point in that class. No such thing exists.
What you have is an entire Java application bundled into a Java archive (jar, which is just a zip file with a different file extension). All of the java class files that it needs are contained within it. The entrypoint of this application is specified in a file inside of this archive. What you need to do instead is tell Java to execute the jar file and use the metadata contained within to figure out where to start. Do this as follows:
java -jar minecraft.jar
that was easy!
I got the error: [Unable to access jarfile minecraft.jar]
then the file is not in the same folder in which you are invoking the JVM
So how would I fix this?
-
Reply to XtremeAero426
m
0
l
Best solution
XtremeAero426 said:
Pinhedd said:
XtremeAero426 said:
Pinhedd said:
XtremeAero426 said:
skittle said:
Hi there. Welcome to Linux.Unlike windows or Mac, In Linux the standard way to install software is through the repository.
First install Java (openJDK 7 is reccomended) or check if already installed.. Open the terminal and type :
java -version
sudo apt-get install openjdk-7-jre
(from here you can try to run the mincraft jar with
java minecraft.jar
However it is recommended that you use the unoffical installer, as this will keep minecraft up to date. Then add this [unoffical] repository and install minecraft-installer
https://launchpad.net/~minecraft-installer-peeps/+archi...
sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer
sudo apt-get update
sudo apt-get install minecraft-installer
I've already installed the latest java. Also, [java minecraft.jar] gives me the error that it can't find the file.
You're trying to run it incorrectly.
What you're trying to have Java do is find a Java class named "minecraft.jar" on the classpath and start executing at the Main entry point in that class. No such thing exists.
What you have is an entire Java application bundled into a Java archive (jar, which is just a zip file with a different file extension). All of the java class files that it needs are contained within it. The entrypoint of this application is specified in a file inside of this archive. What you need to do instead is tell Java to execute the jar file and use the metadata contained within to figure out where to start. Do this as follows:
java -jar minecraft.jar
that was easy!
I got the error: [Unable to access jarfile minecraft.jar]
then the file is not in the same folder in which you are invoking the JVM
So how would I fix this?
If you used a browser to download Minecraft it will most likely deposit the file in /home/<your username>/Downloads. Navigate there in the terminal and run the command.
-
Reply to Pinhedd
Share
Related resources
- SolvedCPU unable to run at standard core multiplier Forum
- unable to open, run, and play minecraft Forum
- unable to read .inf file for installation please run setup.exe again from the cd provided with your printer Forum
- upgraded components, computer unable to run games.... help please Forum
- Unable to run skyrim on laptop Forum
- Gigabyte GTX 770 4GB unable to run game on anything but low setting. Crashes using higher settings. Forum
- SolvedUnable to run 3D Mark Forum
- unable to run fifa 07 on win 7 Forum
- Unable to Run/Install program as Administrator Forum
- Games are unable to run in fullscreen mode Forum
- SolvedUnable to run Prime95/OCCT Forum
- SolvedUnable to run windows update Forum
- Cooler Master Sickleflow 120mm Unable to run on 7 Volt Forum
- Unable to get into safe mode on windows xp using F8 and run file msconfig? Forum
- Memtestx86 Unable to run.. Forum
- More resources
!