So I recently got minecraft. and I am using Fedora. I updated java, and used "Open with java" for minecraft.jar, it updated fine, but after that there was a short "Loading" Screen that lasted less than a second, then the minecraft screen went black. for at least 10min, *Just to make sure there was no slow loading or anything* And it was still black.

any ideas what else to try?
When you say updated java, which JVM are you using? OpenJDK will not work and you must get Oracle's JVM (either 6 or 7).

Also, you must manually update LWJGL to the latest jar from the LWJGL project's homepage as the one provided by Minecraft isn't the most up-to-date that fixes key input issues with linux.
By updated, i went to... [url=http://java.com/en/download/index.jsp]
And downloaded that.

Will search for oracles.

And also will look for LWJGLs .
openjdk7 is working just fine for me, and i've never encountered any key input issues, either.
java.com is owned by oracle, so you have it. When you downloaded, did you make sure that it replaced java? run java --version and make sure it doesn't say OpenJDK and says Oracle.

The key issue is a known bug already by the LWJGL project, yet MC doesn't want to update itself.
I will, and it did not replace, fedora said it was already installed.
I did a manual installation of java and then had Fedora update the java related links to point to oracle's jvm. Forget what command did it. Google knows.
why are you claiming that openjdk does not function, though? i have two machines, running different distros, that stand as counterexamples.
I hate google with linux commands. everything comes out as exactly what i dont need....

just sayin..

also i get this when useing java --version

Code:

Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit
Because I couldn't get it to work with OpenJDK on Fedora 13, 14, 15 properly.

shmibs: What distros and OpenJDK versions?

I assume that you are running MC from command line. If not, are there any interesting lines dumped when it freezes?
there should only be one dash before version

EDIT: mint + openjdk6 and arch + opejdk7
This is what i get for java -version

Code:

java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
On top of the concern of OpenJDK, Mojang clearly states to use Sun's JVM and not to use OpenJDK because there are known issues with the JDK.

And sorry, java -version

@shmibs, this distro is RHL based, none of those listed are. There are bound to be differences.
Also where should i move that zip too? Or what do i do, the readme honestly makes no sense... All the read me says is how to run tests,, which i dont think i want to do..

Edit: its the LWJGL.org zip.
Try launching minecraft from the terminal to see if there are any errors. Usually when minecraft doesn't work for me I have to point my LD_path to the openjdk7 binaries.
EH... will try that. I will let you know if it works.

Ok so i tried to use the command minecraft.com tells me to use aka..
java -Xmx1024M -Xms512M -cp Minecraft.jar

This is what i get in return...


Code:

[Aes_Sedia5@localhost ~]$ java -Xmx1024M -Xms512M -cp Minecraft.jar
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32     use a 32-bit data model if available
    -d64     use a 64-bit data model if available
    -client     to select the "client" VM
    -server     to select the "server" VM
    -hotspot     is a synonym for the "client" VM  [deprecated]
                  The default VM is client.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A : separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.



Anything else to try?
Mojang wrote:
java -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame, also please use Sun's JVM.
I got it working. Very Happy Not sure what i did, but meh.

Also now, i think my video card is acting up. after about 10-15min of playing, everything renders funny. Colors change and blocks disapeear completely. and when i go to tty, i get a long LONG list of errors, that i am pretty sure are related to my video card.

is my video card bad, or could it be over heating? I have it set up to overclock, so over heating is possible.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement