Thread: Help with intelij [KRONOS] java.lang.IllegalArgumentException

Results 1 to 8 of 8
  1. #1 Help with intelij [KRONOS] java.lang.IllegalArgumentException 
    Registered Member
    Join Date
    Jan 2021
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Hey, could someone help my with
    Code:
    Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 58
    Error on intelIJ when trying to start "Kronos-server".
    Done everything through tutorial
    https://www.rune-server.ee/runescape...ml#post5722491

    Installed java "1.8.0_271"

    Thank you.
    Reply With Quote  
     

  2. #2  
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    Can you please provide the actual stack trace?
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    RuneCasino


    Join Date
    Jul 2007
    Posts
    1,647
    Thanks given
    175
    Thanks received
    257
    Rep Power
    358
    Your IDE is probably compiling with your latest jdk, you need to change the SDK (Go to File > Project Structure) then select the Project SDK

    Also on the left of the Project Structure tab go to "Modules" and do the same
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Jan 2021
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Armo View Post
    Your IDE is probably compiling with your latest jdk, you need to change the SDK (Go to File > Project Structure) then select the Project SDK

    Also on the left of the Project Structure tab go to "Modules" and do the same
    tried, same. asking 59

    Attached image
    Attached image

    Quote Originally Posted by Patrity View Post
    Can you please provide the actual stack trace?
    Here:
    Code:
    Failed to install signal handler: java.lang.IllegalArgumentException: Unknown signal: TRAP
    [main] ERROR rollingErrorFileLogger - 
    java.lang.ExceptionInInitializerError
    	at kilim.WeavingClassLoader.<init>(WeavingClassLoader.java:115)
    	at kilim.tools.Kilim.trampoline(Kilim.java:107)
    	at kilim.tools.Kilim.trampoline(Kilim.java:79)
    	at io.ruin.Server.main(Server.java:80)
    Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 59
    Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 59
    
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
    	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
    	at kilim.mirrors.CachedClassMirrors$ClassMirror.<init>(CachedClassMirrors.java:111)
    	at kilim.mirrors.CachedClassMirrors.mirror(CachedClassMirrors.java:55)
    	at kilim.mirrors.CachedClassMirrors.classForName(CachedClassMirrors.java:49)
    	at kilim.mirrors.CachedClassMirrors.mirror(CachedClassMirrors.java:81)
    	at kilim.mirrors.Detector.<init>(Detector.java:37)
    	at kilim.analysis.KilimContext.<init>(KilimContext.java:13)
    	at kilim.analysis.KilimContext.<clinit>(KilimContext.java:8)
    	... 4 more
    Reply With Quote  
     

  6. #5  
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    you're using jdk 15. use jdk 1.8
    Reply With Quote  
     

  7. #6  
    Registered Member

    Join Date
    Feb 2010
    Posts
    3,253
    Thanks given
    1,145
    Thanks received
    909
    Rep Power
    2081
    this is my bad

    I told him to use 14 instead of 8 (he said he was already on 8 and the error was class version too high: 58). What he needed to do was recompile with 8 because of objectweb asm looks like it might be old. What are you using asm lib for in Kronos Pat ?
    Reply With Quote  
     

  8. #7  
    Registered Member
    Join Date
    Jan 2021
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Patrity View Post
    you're using jdk 15. use jdk 1.8
    Thank you, solved that one. no got java.lang.OutOfMemoryError: GC overhead limit exceeded but allready made HELP>>>Cahange memory settings 4095mb and still. Maybe u know hm i should set?
    Reply With Quote  
     

  9. #8  
    Banned
    Join Date
    Feb 2016
    Posts
    170
    Thanks given
    3
    Thanks received
    15
    Rep Power
    0
    Quote Originally Posted by Domzis View Post
    Thank you, solved that one. no got java.lang.OutOfMemoryError: GC overhead limit exceeded but allready made HELP>>>Cahange memory settings 4095mb and still. Maybe u know hm i should set?
    put is at X1052
    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. Help with RUSE cachedownloader.java
    By dabs in forum Help
    Replies: 5
    Last Post: 11-05-2015, 02:30 PM
  2. Need some help with Math, in Java. Help is appreciated
    By Arth in forum Application Development
    Replies: 0
    Last Post: 09-24-2013, 11:50 PM
  3. Need some help with my Commands.Java class.
    By Mr Lennart in forum Help
    Replies: 8
    Last Post: 08-14-2011, 12:50 PM
  4. Need some help with my Commands.Java class.
    By Mr Lennart in forum Help
    Replies: 0
    Last Post: 08-13-2011, 10:31 PM
  5. Help with including another Java file??
    By Dank Cannabis in forum Help
    Replies: 2
    Last Post: 01-14-2011, 07:23 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
  •