Results 1 to 4 of 4
  1. #1
    Doctor Cactus is offline Member
    Join Date
    Oct 2008
    Posts
    63
    Rep Power
    0

    Default 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.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Using system properties find the JDK installation path and you can manipulate the bin folder using that path.

  3. #3
    Join Date
    Dec 2008
    Location
    Italy
    Posts
    79
    Rep Power
    0

    Default

    You should ship the tools.jar files with your main application, then set up the classpath for your jar.

  4. #4
    Join Date
    Dec 2008
    Location
    Italy
    Posts
    79
    Rep Power
    0

Similar Threads

  1. how to configure and use jboss cache
    By Thilkumar82 in forum Web Frameworks
    Replies: 0
    Last Post: 09-23-2008, 08:30 AM
  2. configure comm.api in tomcat
    By jithan in forum New To Java
    Replies: 3
    Last Post: 09-13-2008, 02:33 PM
  3. how to configure <tab> when do HTML coding?
    By jas1n2007 in forum Eclipse
    Replies: 0
    Last Post: 09-09-2008, 06:19 AM
  4. How to configure JavaDocs in Eclipse
    By javaplus in forum New To Java
    Replies: 3
    Last Post: 11-26-2007, 06:17 PM
  5. Configure J2 SDK1.3.1_20 on XP
    By Neon Blue in forum New To Java
    Replies: 3
    Last Post: 08-13-2007, 10:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •