This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
This is a very basic question. I would like to have J2SE 1.3.1 jar file so that I can include it into my classpath to use some classes such as java.util.Date version of this jar file. I would like to include in class path rather than installing J2SE 1.3.1 JVM on my computer.
You have to have java 1.3+ installed on any machine to run this, either the JRE or the SDK (JDK) otherwise you will not have the java executable. Installing any of these will give you the base classes jar in the classpath and you do not need to do anyything else.
I have developed code that I need to give it to client in form of jar.
The environment in which client will be using the my jar file has its own JVM provided by CISCO. This JVM, for some reason, does notallow my client use java.util.Arrays.
My thought was that if I can provide SDK 1.X jar file to the client so that my client can use this java.util.Arrays class. This class I use a lot in my code that I provide to my client.
Could you please suggest me any better approach.
Joined: Jun 13, 2000
Wow, then that JVM is really old. It seems to only support pre java 1.2. (Collections Framwork which supports ArrayList was introduced as an addin api about 1.18 and added to the full jvm in 1.2) You are going to have real trouble! If they are incapable of upgrading then you will have to locate and code to Java standard pre 1.2 You may need to get a JDK from Cisco to do this. Sun has the Archived releases at http://java.sun.com/products/archive/index.html
Finding a copy of the collections.jar for 1.1 is going to be tricky.