This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes IDEs, Version Control and other tools and the fly likes adding jars permanently Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "adding jars permanently" Watch "adding jars permanently" New topic

adding jars permanently

Gamb Rockwell

Joined: Dec 09, 2003
Posts: 25
I would like to know how to add variables and have them show up permanently in the add variable dialog box, currently a few variables show up when I select java->build path->add variable in eclipse 3.0(JRE_SRC, JUNIT etc.). All other variables that I add with one project don't show up whenever I create a new project, i.e I have to go in and select them again. Is there a way I could specify that some jars(classpath variables) should stay in the available variable list everytime I create a new project. I am using eclipse 3.0 on windows XP
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30361

No, there isn't a way to change the defaults. What you can do is create an empty project and give it all those variables in the classpath. Then your new project only needs to point to that empty project.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
It is sorta covered in the JavaRanch Style Guide.
subject: adding jars permanently