RE: Unable to compile Java program in AS400

Steve Hinrichs via JAVA400-L <[email protected]> Fri, 15 Apr 2022 17:30:46 +0000
Newsgroups gmane.comp.lang.as400.java
Message-ID <SJ0PR08MB760143FBFCFA70A6DBB8915581EE9@SJ0PR08MB7601.namprd08.prod.outlook.com>
Check the authority/ownership of the sqljdbc42.jar because that is not a shipped object.

IBM ships a Hello.java in /QIBM/ProdData/Java400 so you could try compiling that and running it.

The UnsupportedClassVersionError is because that class was compiled at a JVM higher than Java 8.

Steve

-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com