We currently have a JAVA program that is being called from an RPG program to connect to a UPS website to perform package rating. The program is building an XML object to pass to the website and parsing the returned XML to pass the rates back to our RPG program. The Java program was written many years ago and the user id, access key and URL are all hardcoded.

A few weeks ago, we had trouble with the webservice call because UPS is working on updating their servers to use TLS 1.1 and above. Beginning January 1st, one will only be able to connect using TLS 1.1 or higher.

Our system administrator installed Java 7, both 32 and 64 bit, on our iSeries partitions per the recommendation from IBM.
Our iSeries partitions are running OS Version 7.1

I updated our CL program that starts the JVM using the cacerts, java.security and java.policy from the JDK70 folders(copied to another folder) and tested the program. All seems to be working well.

The dilemma is now the business has asked that we make some changes to the program. From what I see, it appears that we only have the JAR file.
I have been unable to find the source/class files used to create the JAR file.
I have downloaded the JAR file to my PC and been examining the contents via a Java decompile utility.

Is there a way to extract the classes from the JAR?
Do I have to use a JAR de-compile tool and manually create the classes?
Is there a way to import the JAR file into an IDE like Eclipse or IntelliJ to be able to make the required changes?


"Notice: This e-mail and any files transmitted are confidential and may also be privileged. This communication is intended solely for the use of the individual or entity to which it is addressed. If you are the intended recipient of this information, please treat it as confidential information and take all necessary action to keep it secure. If you are not the intended recipient, you are hereby notified that any use, dissemination, forwarding, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender at once by reply e-mail and destroy all copies of the original message."

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.