Re: Unsupported major
On 20/10/16 13:19, Andy Seaborne wrote: On 20/10/16 10:58, Sandor Kopacsi wrote: Dear Andy, I asked it because I tried it in a script that starts Fuseki like that, but it did not work: export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java space cd /var/www/skosmos/jena-fuseki1-1.3.0 ./fuseki-server --update --mem /ds (I have also tried it with export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64 but it did not work either) How should I use it? You are still using Fuseki1 1.3.0. The fix is in Fuseki2 2.3.1 For Fuseki1, you can set JAVA to point to the binary directly. "fuseki" is a shell script - there are comments and usage notes at the top of the script. "fuseki" is the service script. Since you are running the "fuseki-server", you'll have to edit the script or put "java" onto your classpath by setting PATH. (fuseki-server in Fuseki2 does handle JAVA_HOME and JAVA). (JAVA_HOME is used to point to the installation of the JDK, not to the binary within the JDK). export JAVA=/usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java echo $JAVA $JAVA -version Note - no space after the "=" Andy export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java I have read an issue (JENA-1035), that fuseki-server script ignores JAVA_HOME variable while it executes the "java" command. Has it been fixed? At the top of the issue: Resolution: Fixed Fix Version/s: Fuseki 2.3.1 Thanks, Sandor Am 19.10.2016 um 17:08 schrieb Dick Murray: On 19 October 2016 at 15:10, Sandor Kopacsi <sandor.kopa...@univie.ac.at> 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 <sandor.kopa...@univie.ac.at> 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
Re: Unsupported major
On 20/10/16 10:58, Sandor Kopacsi wrote: Dear Andy, I asked it because I tried it in a script that starts Fuseki like that, but it did not work: export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java space cd /var/www/skosmos/jena-fuseki1-1.3.0 ./fuseki-server --update --mem /ds (I have also tried it with export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64 but it did not work either) How should I use it? You are still using Fuseki1 1.3.0. The fix is in Fuseki2 2.3.1 For Fuseki1, you can set JAVA to point to the binary directly. "fuseki" is a shell script - there are comments and usage notes at the top of the script. (JAVA_HOME is used to point to the installation of the JDK, not to the binary within the JDK). export JAVA=/usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java echo $JAVA $JAVA -version Note - no space after the "=" Andy export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java I have read an issue (JENA-1035), that fuseki-server script ignores JAVA_HOME variable while it executes the "java" command. Has it been fixed? At the top of the issue: Resolution: Fixed Fix Version/s: Fuseki 2.3.1 Thanks, Sandor Am 19.10.2016 um 17:08 schrieb Dick Murray: On 19 October 2016 at 15:10, Sandor Kopacsi <sandor.kopa...@univie.ac.at> 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 <sandor.kopa...@univie.ac.at> 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
Re: Unsupported major
Dear Andy, I asked it because I tried it in a script that starts Fuseki like that, but it did not work: export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java cd /var/www/skosmos/jena-fuseki1-1.3.0 ./fuseki-server --update --mem /ds (I have also tried it with export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64 but it did not work either) How should I use it? export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java I have read an issue (JENA-1035), that fuseki-server script ignores JAVA_HOME variable while it executes the "java" command. Has it been fixed? At the top of the issue: Resolution: Fixed Fix Version/s: Fuseki 2.3.1 Thanks, Sandor Am 19.10.2016 um 17:08 schrieb Dick Murray: On 19 October 2016 at 15:10, Sandor Kopacsi <sandor.kopa...@univie.ac.at> 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 <sandor.kopa...@univie.ac.at> 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
Re: Unsupported major
On 19/10/16 16:39, Sandor Kopacsi wrote: Thank you, Dick. 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 And how can I set it in Linux? Is it enough like that? export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java I have read an issue (JENA-1035), that fuseki-server script ignores JAVA_HOME variable while it executes the "java" command. Has it been fixed? At the top of the issue: Resolution: Fixed Fix Version/s: Fuseki 2.3.1 Thanks, Sandor Am 19.10.2016 um 17:08 schrieb Dick Murray: On 19 October 2016 at 15:10, Sandor Kopacsi <sandor.kopa...@univie.ac.at> 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 <sandor.kopa...@univie.ac.at> 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
Re: Unsupported major
On 19 October 2016 at 16:39, Sandor Kopacsi <sandor.kopa...@univie.ac.at> wrote: > Thank you, Dick. > > 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 >> >> And how can I set it in Linux? Is it enough like that? > Depends on how you are running Fuseki? You have set, env, declare and export. dick@Dick-M3800:~$ name=a dick@Dick-M3800:~$ echo ${name} a dick@Dick-M3800:~$ declare name=b dick@Dick-M3800:~$ echo ${name} b dick@Dick-M3800:~$ export name=c dick@Dick-M3800:~$ echo ${name} c With export the variable is available in sub shells. > > export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java > > I have read an issue (JENA-1035), that fuseki-server script ignores > JAVA_HOME variable while it executes the "java" command. > Has it been fixed? > Unknown, as i don't use Fuseki (we rolled our own similar). > > Thanks, > Sandor > > > Am 19.10.2016 um 17:08 schrieb Dick Murray: > >> On 19 October 2016 at 15:10, Sandor Kopacsi <sandor.kopa...@univie.ac.at> >> 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 < >>>> sandor.kopa...@univie.ac.at> >>>> 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 >>>>> >>>>> >>>>> >>>>> > -- > Dr. Sandor Kopacsi > IT Software Designer > > Vienna University Computer Center > Universitätsstraße 7 (NIG) > A-1010 Vienna > > Phone: +43-1-4277-14176 > Mobile: +43-664-60277-14176 > >
Re: Unsupported major
On 19 October 2016 at 15:10, Sandor Kopacsi <sandor.kopa...@univie.ac.at> 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 <sandor.kopa...@univie.ac.at> >> 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 >>> >>> >>> >
Re: Unsupported major
Thanks, ok, but do they require Java 8? Am 19.10.2016 um 16:19 schrieb Andy Seaborne: On 19/10/16 15:10, Sandor Kopacsi 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)? The latest version is 1.4 ... and there is Fuseki 2 ... 2.4.0 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? 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 <sandor.kopa...@univie.ac.at> 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 -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176
Re: Unsupported major
On 19/10/16 15:51, Sandor Kopacsi wrote: Thanks, ok, but do they require Java 8? Yes. https://jena.apache.org/download/ "Jena requires Java8 (from Jena version 3.0.0 onwards)." Andy Am 19.10.2016 um 16:19 schrieb Andy Seaborne: On 19/10/16 15:10, Sandor Kopacsi 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)? The latest version is 1.4 ... and there is Fuseki 2 ... 2.4.0 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? 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 <sandor.kopa...@univie.ac.at> 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
Re: Unsupported major
On 19/10/16 15:10, Sandor Kopacsi 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)? The latest version is 1.4 ... and there is Fuseki 2 ... 2.4.0 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? 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 <sandor.kopa...@univie.ac.at> 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
Re: Unsupported major
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)? 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? 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 <sandor.kopa...@univie.ac.at> 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
Re: Unsupported major
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 <sandor.kopa...@univie.ac.at> 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 > >
Unsupported major
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