Results 1 to 4 of 4
Thread: Configure Classpath
- 01-08-2009, 12:50 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 63
- Rep Power
- 0
Configure Classpath
Hi, I am writing a Java application, and I want to use the tools.jar file in my application. It is located in the bin folder of the jdk. I am using JCreator LE. I have created an executable jar file of my own and it runs fine. I would just like know how to use tools.jar so that I can run my application on any PC without having to reconfigure it each time.
Help is greatly appreciated.
- 01-08-2009, 12:57 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Using system properties find the JDK installation path and you can manipulate the bin folder using that path.
- 01-08-2009, 01:05 PM #3
Member
- Join Date
- Dec 2008
- Location
- Italy
- Posts
- 79
- Rep Power
- 0
You should ship the tools.jar files with your main application, then set up the classpath for your jar.
- 01-08-2009, 01:11 PM #4
Member
- Join Date
- Dec 2008
- Location
- Italy
- Posts
- 79
- Rep Power
- 0
Similar Threads
-
how to configure and use jboss cache
By Thilkumar82 in forum Web FrameworksReplies: 0Last Post: 09-23-2008, 08:30 AM -
configure comm.api in tomcat
By jithan in forum New To JavaReplies: 3Last Post: 09-13-2008, 02:33 PM -
how to configure <tab> when do HTML coding?
By jas1n2007 in forum EclipseReplies: 0Last Post: 09-09-2008, 06:19 AM -
How to configure JavaDocs in Eclipse
By javaplus in forum New To JavaReplies: 3Last Post: 11-26-2007, 06:17 PM -
Configure J2 SDK1.3.1_20 on XP
By Neon Blue in forum New To JavaReplies: 3Last Post: 08-13-2007, 10:19 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks