linquize
linquize

Reputation: 20406

How to reference libraries in jdk without hardcoding path in Eclipse project file?

How to reference libraries in jdk (not in jre) without hardcoding path in Eclipse project file?

Upvotes: 0

Views: 171

Answers (1)

ftl
ftl

Reputation: 3042

You could use classpath variables (see Window > Prefernces: Java > Build Path > Classpath Variables) in order to add a level of indirection. Choose "Add Variable..." in the project properties dialog to refer to the variable.

Upvotes: 1

Related Questions