Quantcast

eXist 3.0 installation exception: Unsupported major.minor version 52.0

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

eXist 3.0 installation exception: Unsupported major.minor version 52.0

Masoud Vakili
Hi all;
I am trying to install eXist-db 3.0 on Centos 7 with oracle java 8, but at the end of installation, below exception will throw:

java -jar /home/masoud/eXist-db-setup-3.0-acd0c14.jar 
Select target path [/opt] 
/home/exist/eXist3.0
press 1 to continue, 2 to quit, 3 to redisplay
1
Set Data Directory
Please select a directory where eXist-db will keep its data files. On Windows, this should be outside the 'Program Files' directory. Please make sure eXist can write to the directory it is installed in.
Data dir:  [webapp/WEB-INF/data] 

press 1 to continue, 2 to quit, 3 to redisplay
1
Set Admin Password and Configure Memory
Enter password:  [] 

Enter password:  [] 

------------------------------------------

Maximum memory in MB: [2048] 

Cache memory in MB: [256] 

press 1 to continue, 2 to quit, 3 to redisplay
1
[ Starting to unpack ]
[ Processing package: Sources (1/15) ]
[ Processing package: Core (2/15) ]
[ Processing package: Apps (3/15) ]
[ Processing package: shared (4/15) ]
[ Processing package: bf-XForms (5/15) ]
[ Processing package: dashboard (6/15) ]
[ Processing package: demo (7/15) ]
[ Processing package: doc (8/15) ]
[ Processing package: eXide (9/15) ]
[ Processing package: fundocs (10/15) ]
[ Processing package: markdown (11/15) ]
[ Processing package: monex (12/15) ]
[ Processing package: xqjson (13/15) ]
[ Processing package: xsltforms (14/15) ]
[ Processing package: xsltforms-demo (15/15) ]
[ Unpacking finished ]
[ Starting processing ]
Starting process Setting admin password ... (1/1)
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/exist/start/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
[ Console installation done ]

java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)

uname -a
Linux foo 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

please help.
thanks

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Exist-development] eXist 3.0 installation exception: Unsupported major.minor version 52.0

Dmitriy Shabanov


On Sun, Feb 26, 2017 at 3:41 PM, Masoud Vakili <[hidden email]> wrote:
Hi all;
I am trying to install eXist-db 3.0 on Centos 7 with oracle java 8, but at the end of installation, below exception will throw:

because you use java 7 not 8: 


java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)




--
Dmitriy Shabanov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Exist-development] eXist 3.0 installation exception: Unsupported major.minor version 52.0

Masoud Vakili
no my java is 8; 
/opt/jdk1.8.0_121/bin/java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

by this, got the error too.

On Sun, Feb 26, 2017 at 4:17 PM, Dmitriy Shabanov <[hidden email]> wrote:


On Sun, Feb 26, 2017 at 3:41 PM, Masoud Vakili <[hidden email]> wrote:
Hi all;
I am trying to install eXist-db 3.0 on Centos 7 with oracle java 8, but at the end of installation, below exception will throw:

because you use java 7 not 8: 


java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)




--
Dmitriy Shabanov


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Exist-development] eXist 3.0 installation exception: Unsupported major.minor version 52.0

Adam Retter
Dmitriy is correct I think.

It is very unlikely that you are actually using Java 8, even if you
have it installed somewhere.

Please try setting the environment variable JAVA_HOME=/opt/jdk1.8.0_121

Also please ensure that if you run `java -version` from your home
folder without an absolute path, that it reports Java 8, if not you
also need to fix your PATH environment variable.

On 26 February 2017 at 13:23, Masoud Vakili <[hidden email]> wrote:

> no my java is 8;
> /opt/jdk1.8.0_121/bin/java -version
> java version "1.8.0_121"
> Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
>
> by this, got the error too.
>
> On Sun, Feb 26, 2017 at 4:17 PM, Dmitriy Shabanov <[hidden email]>
> wrote:
>>
>>
>>
>> On Sun, Feb 26, 2017 at 3:41 PM, Masoud Vakili <[hidden email]> wrote:
>>>
>>> Hi all;
>>> I am trying to install eXist-db 3.0 on Centos 7 with oracle java 8, but
>>> at the end of installation, below exception will throw:
>>
>>
>> because you use java 7 not 8:
>>
>>>
>>> java -version
>>> java version "1.7.0_80"
>>> Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
>>> Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
>>>
>>
>>
>>
>> --
>> Dmitriy Shabanov
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Exist-development mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/exist-development
>



--
Adam Retter

eXist Developer
{ United Kingdom }
[hidden email]
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Loading...