So I attempted to play Minecraft moments ago, ans it started to load it, then it just black screened. And in the bottom corner it states applet running, but all I see is black. Anyone have any ideas?
So I attempted to play Minecraft moments ago, ans it started to load it, then it just black screened. And in the bottom corner it states applet running, but all I see is black. Anyone have any ideas?
Try updating your java vm or reinstalling it
I played it by coincidence yesterday and everything worked as it should, so it isn't a general linux problem but one with your config.
If reinstalling the java vm doesn't help, try removing it and installing it from java.com. I dimly remember something being wrong with the VM in the repositories (but that could've been an issue with flash, not java, my memorie's not the best.. still, worth a try)
No luck there, I tried that last night. I also tried clearing the cache since it stated that might help, but that also was no dice.
Any other ideas?
I think there might be an update for java available but I don't see that being the problem.
have you tried it in another browser?
Or tried out some of the multiplayer servers? (you need an account for that, but it's free and you don't even have to give it a valid email address)
EDIT: I heard about another client which seems to be better anyway:
http://www.worldofminecraft.com/Downloads (custom client)
maybe that one works?
EDIT: I attached the script for linux to get that client to start
if you have a problem with the menu coming up everytime you click, see here: http://www.worldofminecraft.com/StayFocus
Code:#!/bin/bash JAVA=`which java` DIR=`echo $0 | sed -E 's/\/[^\/]+$/\//'` if [ "X$0" != "X$DIR" ]; then cd $DIR fi RUN=true while [ $RUN == "true" ]; do $JAVA -classpath skin:lib/jinput.jar:lib/lwjgl.jar:lib/lwjgl_util.jar:lib/wom.jar:lib/minecraft.jar -Djava.library.path=native/linux -Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false -Dsun.java2d.pmoffscreen=false -Xmx800M Main if [ $? -ne 10 ]; then RUN=false; fi done
Last edited by Klaue; July 24th, 2010 at 01:30 AM.
The script you gave me, I need to replace "which java" with the version I'm running correct? If so, how can I tell what to put there.
Last edited by kagardner; July 24th, 2010 at 03:55 AM.
the command "which java" should actually get the path of your java executable. just try it, open a terminal and type it in and see what it gets you - I get "/usr/bin/java"
In other words, nah, you don't need to edit anything. Just but the code in a file in the same place where the two other scripts (for windows/osx) are, make it executable (chmod +x) and run it.
you could probably just erase the line and replace "$JAVA" below with "java", but I just edited the script for os x so that stuff is still in it
You can get the version of your java by using "java -version", but you don't need that here
Last edited by Klaue; July 24th, 2010 at 07:08 AM.
This might not be a Java issue as I experienced something similar, before loading into a save, go into the options menu and change the graphics settings from "fancy" to "fast", may solve the problem.
I had the same issue as you described and the way I fixed it is by making sure I didn't have any other javas running ie Icedtea cause as soon as I uninstalled that Minecraft started to work for me.
I have tried everything to get this game to work.
The script that was posted here did not seam to work:
But thanks for trying anyway.Code:sed: invalid option -- 'E' Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]... -n, --quiet, --silent suppress automatic printing of pattern space -e script, --expression=script add the script to the commands to be executed -f script-file, --file=script-file add the contents of script-file to the commands to be executed -i[SUFFIX], --in-place[=SUFFIX] edit files in place (makes backup if extension supplied) -l N, --line-length=N specify the desired line-wrap length for the `l' command --posix disable all GNU extensions. -r, --regexp-extended use extended regular expressions in the script. -s, --separate consider files as separate rather than as a single continuous long stream. -u, --unbuffered load minimal amounts of data from the input files and flush the output buffers more often --help display this help and exit --version output version information and exit If no -e, --expression, -f, or --file option is given, then the first non-option argument is taken as the sed script to interpret. All remaining arguments are names of input files; if no input files are specified, then the standard input is read. E-mail bug reports to: bonzini@gnu.org . Be sure to include the word ``sed'' somewhere in the ``Subject:'' field. Exception in thread "main" java.lang.NoClassDefFoundError: Main Caused by: java.lang.ClassNotFoundException: Main at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:319) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:264) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332) Could not find the main class: Main. Program will exit.
The problem with mine is after I press "play offline" it shows the loading screen and the bar is full, but then the screen just goes black and nothing happens.
Last edited by The-ITu; September 3rd, 2010 at 12:34 PM.
You-want-to get ubuntu
You're actually missing some needed library files (Mainly from the Java Monkey Engine). It took me HOURS and HOURS to find out how to get Minecraft to run on Ubuntu Linux.
Posted a great article on how i did it on my blog - http://timashley.me/node/596
Enjoy!
Bookmarks