Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    0

    Default Hello all! Please help!

    Hello everyone,How's life treating you?
    Please i'm in need of help, I'm trying to create a java runescape client, Now I've got the run.bat file but, It used to boot up a client like thing, now all i get is: "Error occurred during initialization of UM
    Java/lang/NoClassDefError:java/lang/Object
    Press any key to continue..."
    That's the run.bat file, When I open the compiler, I'm not sure if this is a problem or not, but this is what I get:
    "Note:Some Imput files use unchecked or unsafe operations.
    Note:Recompile with -Xlint:unchecked for details.
    Press any key to continue...."

    I get that for the compile.cmd
    Now this really sucks, Please help me, If i need to replace a file, Please give me a link, or atleast the name of the file.

    Very much appreciated and kind regards, Jacob.

  2. #2
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    0

    Default

    Please, anyone? Sorry for bugging but this is very important for me.

  3. #3
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    Location
    San Jose, CA, USA
    Posts
    320
    Rep Power
    6

    Default

    Not enough information for me to hazard a guess on the error, but i have a suggestion:

    My suggestion would be to package your project into a jar. This will keep things organized and jars can be run directly like an executable file. Netbeans will automatically create a jar when you build your project (and i assume eclipse also), just look in the dist folder, or you can build a jar by hand.

    If you insist on putting it in a bat file then just have:

    Java Code:
    @echo off
    java -jar MyRunescapeClient.jar

    "Note:Some Imput files use unchecked or unsafe operations.
    Note:Recompile with -Xlint:unchecked for details.
    Press any key to continue...."

    This is just a warning. You can use "-Xlint:unchecked" at compile time to see the messages.

    Just my 2 cents, take it as you will. :)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •