Hi Michael,
both, Chandra and Pascal, are right. Java 7 or higher is needed to run a snapshot of BaseX 8.0.
Since you're using Mac OS X and are (maybe) reluctant to update Java (as I can see from your remarks ;-), another option for you could be to give BaseX.app [1] a try.
It's packaged and prepared to run out-of-the-box on a Mac. And there is a reason, why the package (as .tar.bz2) has 49M as compared to BaseX.jar with 3.3M - it has, among other things, jdk1.8.0_20.jdk included.
All the best Alex
[1] http://files.basex.org/releases/BaseX-latest.app.tar.bz2 BaseX 8.0 beta 89b063d [Standalone]
On 29.11.2014, at 16:55, C. M. Sperberg-McQueen cmsmcq@blackmesatech.com wrote:
When I attempt to run the copy of BaseX 8.0 I just downloaded under OS X 10.6.8, I get the following error report, which at the moment I am having some trouble deciphering.
cmsmcq$ /opt/local/BaseX-8.0/basex/bin/basexgui Exception in thread "main" java.lang.UnsupportedClassVersionError: org/basex/BaseXGUI : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) cmsmcq$
Is this telling me that BaseX requires a more recent version of Java than I currently have on this machine?
Or is it something else?
[Yes, I know, I should upgrade my operating system and possibly my hardware ... someday.]
Thanks for any help.
--
- C. M. Sperberg-McQueen, Black Mesa Technologies LLC
- http://www.blackmesatech.com
- http://cmsmcq.com/mib
- http://balisage.net