× 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.




Hi Jeremy,

UnsupportedClassVersionError means that the version of Java you're
running doesn't understand the class format in the compiled classes.
Typically, it occurs because you compiled under JDK 1.5 or 6.0 on one box,
and tried to run the app with JDK 1.4 or earlier on another.

Your solutions are to compile to the same version as on the target
machine, or upgrade/use a version on the target compatible with the compiled
version.


Joe Sam

Joe Sam Shirah - http://www.conceptgo.com
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International? http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400

----- Original Message ----- From: <Jeremy_Rowden@xxxxxxxxxx>
To: <java400-l@xxxxxxxxxxxx>
Sent: Friday, December 05, 2008 4:08 PM
Subject: Re: JAVA400-L Digest, Vol 6, Issue 247


Hi David,

Thanks for your response. I got it onto the System I but I have one more
question when I run the command with the name of my class
I get the following error


at
java.lang.UnsupportedClassVersionError.<init>(UnsupportedClassVers
ionError.java:34)


snip...

Java program completed with exit code 1

==>
Any ideas on this


Thanks,

Jeremy R. Rowden
Nippon Express USA, Inc.
Information Systems Division




java400-l-request@xxxxxxxxxxxx
Sent by: java400-l-bounces@xxxxxxxxxxxx
12/05/2008 12:00 PM
Please respond to
java400-l@xxxxxxxxxxxx


To
java400-l@xxxxxxxxxxxx
cc

Subject
JAVA400-L Digest, Vol 6, Issue 247






Send JAVA400-L mailing list submissions to
java400-l@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/java400-l
or, via email, send a message with subject or body 'help' to
java400-l-request@xxxxxxxxxxxx

You can reach the person managing the list at
java400-l-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of JAVA400-L digest..."


Today's Topics:

1. Loading PC Java code to system I (Jeremy_Rowden@xxxxxxxxxx)
2. Re: Loading PC Java code to system I (David Gibbs)


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

message: 1
date: Fri, 5 Dec 2008 09:28:02 -0600
from: Jeremy_Rowden@xxxxxxxxxx
subject: Loading PC Java code to system I

Hello everyone,

I am new to Java on the System I and was wondering how do you load it onto

the System I from Websphere.
Currently the code only exists on my local PC.


Thanks,

Jeremy R. Rowden
Nippon Express USA, Inc.
Information Systems Division


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

message: 2
date: Fri, 05 Dec 2008 09:58:22 -0600
from: David Gibbs <david@xxxxxxxxxxxx>
subject: Re: Loading PC Java code to system I

Jeremy_Rowden@xxxxxxxxxx wrote:
I am new to Java on the System I and was wondering how do you load it
onto
the System I from Websphere.
Currently the code only exists on my local PC.

Copy the compiled artifacts (class, jar, ear, war, etc) to the appropriate
place on the IFS and run it.

You can launch the code using RUNJVA or from within qshell using the java
command.

Pretty darn simple, when it comes down to it.

david

--
IBM i on Power - For when you can't afford to be out of business


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

--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
digest list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.



End of JAVA400-L Digest, Vol 6, Issue 247
*****************************************

--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-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.