On 19 October 2016 at 15:10, Sandor Kopacsi <[email protected]>
wrote:

> Dear Dick,
>
> You are right. I have Java version 1.6.0_37 and the exception says:
>
> "minor version 52.0"
>
> Am I right, that Fuseki 1.3 requires Java 8 (that I used previously)?
>

You'll probably want to upgrade to the latest version...


>
> I am afraid that the administrators / or the system itself downgraded the
> Java version to Java 6, which is the pre set or automatic version.
>
> Now I switched to Java 8, and now it works.
>
> How can avoid this problem next time? Fuseki takes into consideration the
> JAVA_HOME system variable? If yes, how and where should I set it? In a
> starting script of Fuseki
>

You can install multiple JRE's and "point" your application at the required
one.

On windows via the command set JAVA_HOME=c:\jre8


> Thanks and best regards,
> Sandor
>
>
> Am 19.10.2016 um 15:36 schrieb Dick Murray:
>
>> Hi.
>>
>> Check what version of JRE you have with java -version
>>
>> dick@Dick-M3800:~$ java -version
>> java version "1.8.0_101"
>> Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
>> Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
>>
>> Your exception should say what version it is having trouble with...
>>
>> Java SE 9 = 53,
>> Java SE 8 = 52,
>> Java SE 7 = 51,
>> Java SE 6.0 = 50,
>> Java SE 5.0 = 49,
>> JDK 1.4 = 48,
>> JDK 1.3 = 47,
>> JDK 1.2 = 46,
>> JDK 1.1 = 45
>>
>>
>> On 19 October 2016 at 14:32, Sandor Kopacsi <[email protected]>
>> wrote:
>>
>> Dear List Members,
>>>
>>> I wanted to start Fuseki 1.3.0 for test purposes, but I got an exception
>>> in thread "main" java.lang.UnsupportedClassVersionError:
>>> org/apache/jena/fuseki/FusekiCmd : Unsupported major.
>>>
>>> I do not want to update Fuseki by all means, I just wanted to try
>>> something in this test environment.
>>> It worked so far well, and I did not changed (deliberately) anything.
>>>
>>> What can be the reason for that, and what should I do?
>>>
>>> Thank you in advance and best regards,
>>> Sandor
>>>
>>> --
>>> Dr. Sandor Kopacsi
>>> IT Software Designer
>>>
>>> Vienna University Computer Center
>>>
>>>
>>>
>

Reply via email to