Thanks Aiken,

I checked the version in QSH (java -version) and it came up 1.3.1.  I was 
hesitant to change the version globally on the whole system so I simply copied 
the SystemDefault.properties file from /QIBM/UserData/Java400 to my user 
directory under the /home directory.  I then added a new line java.version=1.4, 
signed off and signed back on again. Now the version comes up 1.4.2 and the 
iText classes work.

Cheers, icoman


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aiken Sam
Sent: Thursday, December 28, 2006 8:33 PM
To: [email protected]
Subject: Re: [iText-questions] Loading iText to an IBM iSeries

Mike Buchanan <mbuchanan <at> coastdist.com> writes:

> iText works fine on my desktop but our iSeries is on an
> earlier version of the JDK.  I need to compile the classes under the older
> version on the IBM midrange which is JDK 1.4.  When I try to use iText now
> the javac command says that we are on version 47 and it requires version
> 49.  A google taught me that this means JDK 1.4 vs JDK 1.5.  I'm
> not sure why this happens because the docu says the .jar is at JDK 1.4.
> 
> Anyway, I have the source files and the build.xml but I can't
> get the Ant command to work on the iSeries.  Anyone else have this problem?
> 
> icoman

Mike,

AFAIK, version 47 means jdk 1.3.x.

Start a QSH on TN5250 and execute "java -version", you will find the java 
version you are running. Furthermore, execute "dspsfwrsc" on TN5250 and find 
something like below:

5722JV1   *BASE    5050    IBM Developer Kit for Java  
5722JV1   *BASE    2924    IBM Developer Kit for Java  
5722JV1   *BASE    2984    IBM Developer Kit for Java  
5722JV1   5        5105    Java Developer Kit 1.3 
5722JV1   6        5106    Java Developer Kit 1.4 

If you have more than one jdk installed on your iSeries, check 
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?
topic=/rzaha/multjdk.htm. Usually the highest version will run by default but 
it may be changed by your administrator.

Contact your IBM support representative for software feature ordering (5722JV1 
feature 6) or configuration support.

For your information, I run apache-ant-1.6.5 and itext 1.4.3 very well on 
i520, v5r3.

Regards,

Aiken Sam



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to