This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Java in General and the fly likes including third party tools in the java API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "including third party tools in the java API" Watch "including third party tools in the java API" New topic

including third party tools in the java API

peter dushkin

Joined: Sep 21, 2003
Posts: 2
hi. i have the 1.4.1 sdk and i need to convert .ico files to something that the java compiler understands. I found a tool that does this but don't know how to include the class flies in the sdk so that i can use the third party tool at runtime. i imagine this is possible by move the thirdparty's class files to some appropriate spot in the java sdk but so far i haven't been able to do this successfully. thanks in advance. peter.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
messy, very messy...
Far better to just set your classpath to include the required files.

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
you normally just add the jar file or classes to your classpath of your application. (e.g. start your prog with java -cp addOn.jar).You should never change the classes of the JDK when you aren't 100% sure you know what you are doing.
When you did this you can use any additional library.
It is sorta covered in the JavaRanch Style Guide.
subject: including third party tools in the java API