Thread: Compiler Error- Need Help Quick!

Results 1 to 7 of 7
  1. #1 Compiler Error- Need Help Quick! 
    Registered Member
    Join Date
    Jun 2014
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Every time i attempt to compile my server with or without editing it i will be unable to start it and will receive this error upon running the .bat server run file


    Exception in thread "main" java.lang.UnsupportedClassVersionError: com/rs/Launch
    er : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknow n Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.launcher.LauncherHelper.checkAndLoadMain(Unkno wn Source)
    Press any key to continue . . .

    This happens on every server source i have had which is roughly 10 different ones, currently i am on a matrix 718 and i'm trying to disable the tutorial so new players do not receive all 99 combat skills. (Any help for all of the problems will be greatly appreciated)

    PS. I recently tried Rune-Evo 3 that uses Foxtrot 718 but received random lag bursts and freezes every 5 seconds on my end! (I was using OpenGL)
    PSS. My friend is unable to run any client it just says the first line of code then Press any key to continue.... Any ideas on that as well?

    If anyone helps me and if possible solves any of these problems i will be EXTREMLEY great full!

    Kind regards,
    Badhad
    Reply With Quote  
     

  2. #2  
    Registered Member
    Zach's Avatar
    Join Date
    Aug 2013
    Posts
    1,120
    Thanks given
    24
    Thanks received
    513
    Rep Power
    5000
    How to disable the tutorial:

    Go to Settings.java

    search for
    Code:
    public static final String START_CONTROLER = "StartTutorial";
    Replace with
    Code:
    public static final String START_CONTROLER = "StartTutoria";

    To fix your compiling issue, replace your compiler code with this one:
    Code:
    @echo off
    @title Server Compiler
    @echo Compiling Source...
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/game/player/Player.java
    @echo Compiling...1
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/game/player/Equipment.java
    @echo Compiling...2
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/Launcher.java
    @echo Compiling...3
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/game/player/dialogues/*.java
    @echo Compiling...4
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/*.java
    @echo Compiling...5
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/game/player/content/*.java
    @echo Compiling...6
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/net/decoders/handlers/*.java
    @echo Server has successfully finished compiling!
    pause
    I've highlighted in green what you need to change. Find your jdk verson by going to your C:/program files/java
    ZachTX's RSPS Video Services (10,000+ Loyal RSPS Subscribers)
    CLICK HERE!

    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2014
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Okay, I've done that but i wont be able to save the changes because of the error with the compiler, would you happen to have any knowledge on the error I'm having with the compiler?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Zach's Avatar
    Join Date
    Aug 2013
    Posts
    1,120
    Thanks given
    24
    Thanks received
    513
    Rep Power
    5000
    Quote Originally Posted by badhad View Post
    Okay, I've done that but i wont be able to save the changes because of the error with the compiler, would you happen to have any knowledge on the error I'm having with the compiler?
    I gave you it.
    ZachTX's RSPS Video Services (10,000+ Loyal RSPS Subscribers)
    CLICK HERE!

    Attached image
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2014
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by badhad View Post
    Okay, I've done that but i wont be able to save the changes because of the error with the compiler, would you happen to have any knowledge on the error I'm having with the compiler?
    Quote Originally Posted by Zach_ View Post
    How to disable the tutorial:

    Go to Settings.java

    search for
    Code:
    public static final String START_CONTROLER = "StartTutorial";
    Replace with
    Code:
    public static final String START_CONTROLER = "StartTutoria";

    To fix your compiling issue, replace your compiler code with this one:
    Code:
    @echo off
    @title Server Compiler
    @echo Compiling Source...
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/game/player/Player.java
    @echo Compiling...1
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/game/player/Equipment.java
    @echo Compiling...2
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/Launcher.java
    @echo Compiling...3
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/game/player/dialogues/*.java
    @echo Compiling...4
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/*.java
    @echo Compiling...5
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/game/player/content/*.java
    @echo Compiling...6
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/net/decoders/handlers/*.java
    @echo Server has successfully finished compiling!
    pause
    I've highlighted in green what you need to change. Find your jdk verson by going to your C:/program files/java
    I did as you said and changed it to mine which is 1.8.x but i still get this error
    Code:
     Exception in thread "main" java.lang.UnsupportedClassVersionError: com/rs/Launch
    er : Unsupported major.minor version 52.0
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
    Press any key to continue . . .
    Reply With Quote  
     

  6. #6  
    Registered Member
    Zach's Avatar
    Join Date
    Aug 2013
    Posts
    1,120
    Thanks given
    24
    Thanks received
    513
    Rep Power
    5000
    Quote Originally Posted by badhad View Post
    I did as you said and changed it to mine which is 1.8.x but i still get this error
    Code:
     Exception in thread "main" java.lang.UnsupportedClassVersionError: com/rs/Launch
    er : Unsupported major.minor version 52.0
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
    Press any key to continue . . .
    Paste your compiler code in the thread.
    ZachTX's RSPS Video Services (10,000+ Loyal RSPS Subscribers)
    CLICK HERE!

    Attached image
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jun 2014
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Zach_ View Post
    Paste your compiler code in the thread.

    Code:
    @echo off
    @title Server Compiler
    @echo Compiling Source...
    "C:\Program Files\Java\jdk1.8.0_05\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/game/player/Player.java
    @echo Compiling...1
    "C:\Program Files\Java\jdk1.8.0_05\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/game/player/Equipment.java
    @echo Compiling...2
    "C:\Program Files\Java\jdk1.8.0_05\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/Launcher.java
    @echo Compiling...3
    "C:\Program Files\Java\jdk1.8.0_05\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/game/player/dialogues/*.java
    @echo Compiling...4
    "C:\Program Files\Java\jdk1.8.0_05\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/*.java
    @echo Compiling...5
    "C:\Program Files\Java\jdk1.8.0_05\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/game/player/content/*.java
    @echo Compiling...6
    "C:\Program Files\Java\jdk1.8.0_05\bin\javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/net/decoders/handlers/*.java
    @echo Server has successfully finished compiling!
    pause
    READ: This Error occurs for every server source i use.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. PI Compille Error! NEED HELp
    By Trivzor in forum Help
    Replies: 2
    Last Post: 02-05-2011, 03:29 PM
  2. Compiler Error :( NEED HELP!
    By krazykid in forum Help
    Replies: 0
    Last Post: 09-25-2010, 01:54 AM
  3. [Pi] Compiler error need help project insanity
    By Juggalo Family in forum Help
    Replies: 22
    Last Post: 08-16-2010, 12:40 AM
  4. Replies: 1
    Last Post: 06-29-2010, 12:56 AM
  5. Compiler error, need help quick
    By Schranz30 in forum Help
    Replies: 0
    Last Post: 09-29-2009, 12:38 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •