Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does eclipse save the classpath variables values?

Tags:

java

eclipse

Eclipse supports configuring classpath variables (Window -> Preferences -> Java -> Build Path -> Classpath Variables):

classpath variables

Where does it store the values?

Please note: This question does not ask for the .classpath file, but rather for the Classpath Variables configuration place. People can share the same .classpath file using variables and still have their classpath variables configured differently.

like image 494
Micha Wiedenmann Avatar asked Jul 04 '13 14:07

Micha Wiedenmann


1 Answers

They're stored in a file in the workspace, normal location is...

workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.jdt.core.prefs

They're stored in a this prefs file which if you open up, will look like...

org.eclipse.jdt.core.classpathVariable.JBOSS_HOME=C\:/DEVELOPMENT/JBoss
org.eclipse.jdt.core.classpathVariable.JDK_HOME=C\:/DEVELOPMENT/Java/jdk1.7.0_1
like image 118
david99world Avatar answered Oct 19 '22 09:10

david99world