Skip to content

Commit

Permalink
[JBDS-3411] have installer build actually use M6 p2 product build
Browse files Browse the repository at this point in the history
Fix jbdevstudio.ini location
  • Loading branch information
dgolovin committed May 8, 2015
1 parent 4720c25 commit 9f377e7
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,10 @@ public void addJREPath() {
}

public static void addJREPath(String installPath, String execPath) {
File pathLinuxWindows = new File(installPath + File.separator + "studio" + File.separator
File pathToIni = new File(installPath + File.separator + P2DirectorStarterListener.JBDEVSTUDIO_LOCATION + File.separator
+ "jbdevstudio.ini");
File pathMacosx = new File(installPath + File.separator + "studio" + File.separator + P2DirectorStarterListener.JBDEVSTUDIO_LOCATION + File.separator
+ "jbdevstudio.ini");
if(pathLinuxWindows.exists()) {
addJVM(execPath, pathLinuxWindows);
} else if(pathMacosx.exists()) {
addJVM(execPath, pathMacosx);
if(pathToIni.exists()) {
addJVM(execPath, pathToIni);
}
}

Expand Down

0 comments on commit 9f377e7

Please sign in to comment.