Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Classpath Problem  RSS feed

 
Kopparam Babu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! Thanks in advance.
For a certain reason, i want around 65 jars to be in classpath. But when i include all the 65 jar file names in the classpath : i am facing a problem in windows which says, line too long. (in solaris it is ok).
I gave only the directory (which contains these jars) in the classpath. This works in some machines and doesn't work in some machines.
I don't have option of merging all jars into one jar becoz, i am using third party jars and their terms and conditions say this can not be done.
Can somewhen help to come out of this problem.
Regards,
Babu.
 
Lewin Chan
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried putting all the jars into
\program files\javasoft\jre\1.3.1\lib\ext
They get automatically loaded from this location... (so you don't have to have them in the classpath)
If you need them for compiling you can put them into
\jdk1.3\jre\lib\ext
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!