Tuesday, January 15, 2019

Re: [pcgen] Mac OS Java Errors

depending what version of PCGen you're trying to run:


Prerequisites:

Java 11 aka Java 55 aka 18.09 or 18.10. (Including OpenJDK 11 variants)

PCGEN 6.08.00 RC2 is not compatible with Java 10 (or earlier) and it is NOT SUPPORTED. To get the latest version of Java, go to AdoptOpenJDK. PCGen has been tested with OpenJDK and AdoptOpenJDK Java 11 (including the JRE). We decided to use Java 11 as this is a 3-year supported (Long Term Support), Java 8 is no longer updated.


if you already have Brew.sh installed, that's definitely the easiest way (if not, it's not hard, just a big download+big install process)



On Tue, Jan 15, 2019 at 7:33 AM irkmiller1964 <irkmiller@gmail.com> wrote:
Could use some help trying to get the software to run on my Mac.

So far, I have been unable to get a console window for Java. From what I've been able to determine, it doesn't show on the Mac unless a Java program is already running, which makes checking the Java console problematic if you can't get the program in question to run.

BUT....

I was able to finally figure out how to try and start it from the Terminal Command line and get some feedback:

I am running Java 8 update 191. Attempting to run the pcgen.jar I get the 

Error: A JNI error has occurred, please check your installation and try again

Exception in thread "main" java.lang.UnsupportedClassVersionError: pcgen/system/Main has been compiled by a more recent version of the Java Runtime (class file version 55.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:763)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)

at java.net.URLClassLoader.access$100(URLClassLoader.java:73)

at java.net.URLClassLoader$1.run(URLClassLoader.java:368)

at java.net.URLClassLoader$1.run(URLClassLoader.java:362)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:361)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)

_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#177) | Reply To Group | Reply To Sender | Mute This Topic | New Topic

Your Subscription | Contact Group Owner | Unsubscribe [poolblogg@gmail.com]

_._,_._,_

No comments:

Post a Comment