Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshot error #20

Open
Ulisesrec opened this issue Jun 7, 2023 · 12 comments
Open

Snapshot error #20

Ulisesrec opened this issue Jun 7, 2023 · 12 comments

Comments

@Ulisesrec
Copy link

Ulisesrec commented Jun 7, 2023

I tried to use the snapshot but i got this error

Error: LinkageError occurred while loading main class me.cortex.jarscanner.Main
java.lang.UnsupportedClassVersionError: me/cortex/jarscanner/Main has been compiled by a more recent version of the Java Runtime (class file version 64.0), this version of the Java Runtime only recognizes class file versions up to 61.0

I think i have the latest version but it seems like not

I also tried to compile it but i don't know exactly how to do it, so any help would be nice

Edit: oh wait, i think i did compile it, because i had two snap files, and the second one don't give me the error

@0mega24
Copy link

0mega24 commented Jun 7, 2023

How were you able to compile it? What did you use?

@Ulisesrec
Copy link
Author

How were you able to compile it? What did you use?

I used ./gradlew build
I read this from a closed thread, this worked for me

@0mega24
Copy link

0mega24 commented Jun 7, 2023

and that is in the cmd prompt from the unzipped dir I am guessing

@Ulisesrec
Copy link
Author

that is in the unzipped directory, yes
also i'm using linux, you're using Windows i think?

@0mega24
Copy link

0mega24 commented Jun 7, 2023

yea I am on win10 atm and am getting some strange results.
I am getting build failures from the Detector.java file from the most recent release line 80, 83, 87

@0mega24
Copy link

0mega24 commented Jun 7, 2023

I got it to build switching to java 18 now I am unable to get it to run even with java 18?

@Ulisesrec
Copy link
Author

Hmmmm i don't know about windows then sorry, but it does have a .bat file anyways better ask someone who has a better idea about it

@Ulisesrec
Copy link
Author

I got it to build switching to java 18 now I am unable to get it to run even with java 18?

You are trying to run the snapshot build right? that is in /build/lib

@0mega24
Copy link

0mega24 commented Jun 7, 2023

yea

@0mega24
Copy link

0mega24 commented Jun 7, 2023

Issue

@Huskydog9988
Copy link
Contributor

The project has been tested against v17. Maybe try switching to that version in the mean time?

@0mega24
Copy link

0mega24 commented Jun 7, 2023

switching to java 17 got it to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants