× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Installed JVM's and the current JVM are two different things. Maybe
your current environment points to a newer JVM on your system even
though an older one might be available.

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java

On 12/2/2015 10:04 AM, Frederik Vanderhaeghe wrote:
Oh, the error that I'm getting is:

java.lang.UnsupportedClassVersionError: com/mysql/jdbc/Driver
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Error.<init>(Error.java:49)
at java.lang.LinkageError.<init>(LinkageError.java:36)
at java.lang.ClassFormatError.<init>(ClassFormatError.java:35)
at java.lang.UnsupportedClassVersionError.<init>(UnsupportedClassVersionError.java:34)
at java.lang.ClassLoader.defineClass(ClassLoader.java:567)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:168)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:314)
at java.net.URLClassLoader.access$300(URLClassLoader.java:87)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:637)
at java.net.URLClassLoader.findClass(URLClassLoader.java:223)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:263)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:330)

Frederik

-----Oorspronkelijk bericht-----
Van: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Namens Frederik Vanderhaeghe
Verzonden: woensdag 2 december 2015 16:45
Aan: rpg400-l@xxxxxxxxxxxx
Onderwerp: JDBCR4 in V7R1

Hello,

We are upgrading our AS400 to version 7.
Will JDBCR4 still work then? I saw that mysql-connector-java-3.1.x is only supporting java 1.2.x, 1.3.x, 1.4.x, 1.5.x and 1.6.x and V7R1 does not support java 1.4, 5.0 and 6 anymore.
Do I have to upgrade to mysql-connector-java-5.1.x then?

I tried using mysql-connector-java-5.1.37 but it gives an error.

Is there anyone that can help me?

Frederik
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.