I write stand alone applications in eclipse and jar them up to the 400.  I got 
the JRE from Sun and loaded it onto my
box, making sure the jdk was the same as the 400.  

I do all development on the PC and when I'm ready to deploy, I jar it to a 
directory on the 400.  

I don't optimize for the 400 as a rule but I'm sure it would help....

In fact, I can create classes on the PC, run them on the 400 and migrate them 
to AIX where our web site runs, all
without any changes...

really slick...

dan
 

-----Original Message-----
From: Jim Pleger [mailto:JPLEGER@xxxxxxxxxxx]
Sent: Friday, June 20, 2003 2:02 PM
To: java400-l@xxxxxxxxxxxx
Subject: Eclipse + iSeries WITHOUT WebSphere


I work on a Model 170 (purchased in 1998) running V5R1 and Java compiler jdk13.

This is county government, so no hope of upgrading this vintage box; no hope of 
WebSphere Express Client, (even though
it is 
relatively cheap), no hope of ANYTHING that costs money!
 
Thanks to David Morris' excellent article, I've gotten Tomcat stand-alone up 
and ruuning, and also have been using Ant,
downloaded straight from Jakarta.  Ant works fine too, except it is s-l-o-o-o-w 
on the 170.
 
But Eclipse ... how can you integrate it into AS/400?
I went to Window-Preferences-Java-InstalledJREs, 
and added /QIBM/ProdData/Java400/jdk13/lib/jt.jar, and made it the default JRE.
Compile seems to work OK, but when you try
to run a simple HelloWorld application program, it won't run; just  returns the 
message "Exception occurred executing
command line."
Do I need to add other jar files, or change the classpath?
Or something else?
 
Can anyone help?  Has anyone out there been using Eclipse
with AS/400 / iSeries INDEPENDENT OF WebSphere?  I would SO like to get this to 
work!  Writing Java servlets using only
TextPad as an editor is NOT the way to go; I REALLY want to use Eclipse, if 
possible.



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


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

This mailing list archive is Copyright 1997-2022 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.