• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jar file

 
Rohit Csed
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

How can I do this?

Thanks for your help in advance.

Rohit
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rohit Csed
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your help. This is my situation:

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.

Thanks

Rohit
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic