prokka icon indicating copy to clipboard operation
prokka copied to clipboard

error of minced to run prokka

Open huiluocao opened this issue 2 years ago • 3 comments

here is my error message:

[23:55:15] Looking for 'minced' - found /usr/local/bin/minced
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: minced has been compiled by a more recent version of the Java Runtime (class file version 58.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)
[23:55:16] Could not determine version of minced - please install version 2.0 or higher```

huiluocao avatar Jul 05 '21 15:07 huiluocao

I used brew install brewsci/bio/prokka java -version
java version "1.8.0_291" Java(TM) SE Runtime Environment (build 1.8.0_291-b10) Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)

brew install minced Updating Homebrew... Warning: brewsci/bio/minced 0.4.2 is already installed and up-to-date. To reinstall 0.4.2, run:

huiluocao avatar Jul 05 '21 15:07 huiluocao

Did you ever find a fix to this?

TommyH-Tran avatar Sep 16 '23 23:09 TommyH-Tran

Also interested in the fix. Im having the exact same thing.

sipesk avatar Oct 09 '23 09:10 sipesk