running BaseX 8.0 under OSX 10.6.8?
Saturday, 29 November 2014 · 4 messages · last reply 2 Dec 2014
CS
C. M. Sperberg-McQueen29 Nov 2014 17:55 #
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
****************************************************************
C
Chandrasekhar29 Nov 2014 18:54 #
Dear Sperberg
This version required java7 version,you are absolutely correct this issue related to version of java.I think it is useful for you ,if i understand your problem
Thanks&Regards
Chandra Sekhar
Quoted text · basex-talk-bounces at mailman.uni-konstanz.de · 37 lines
From: basex-talk-bounces at mailman.uni-konstanz.de <basex-talk-bounces at mailman.uni-konstanz.de> on behalf of C. M. Sperberg-McQueen <cmsmcq at blackmesatech.com> Sent: Saturday, November 29, 2014 9:25 PM To: BaseX Cc: C. M. Sperberg-McQueen Subject: [basex-talk] running BaseX 8.0 under OSX 10.6.8? 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 **************************************************************** The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
PH
MacOS by default come with Java version 1.6. You'll need to manually install Java 7 or higher:
https://www.java.com/en/download/faq/java_mac.xml
best
*P
Quoted text · C. M. Sperberg-McQueen · 31 lines
On 11/29/14, 4:55 PM, C. M. Sperberg-McQueen 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. >
AH
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]
Quoted text · C. M. Sperberg-McQueen · 43 lines
> On 29.11.2014, at 16:55, C. M. Sperberg-McQueen <cmsmcq at 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 > **************************************************************** > > > >
Written for BaseX 7.9. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery