Revision 710
tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/preferences/RPreferences.java (revision 710) | ||
---|---|---|
110 | 110 |
} |
111 | 111 |
Log.info("Updating R preferences for R plugin version="+currentVersion); |
112 | 112 |
|
113 |
String os = "win";
|
|
113 |
String os = ""; |
|
114 | 114 |
String ext = ""; |
115 | 115 |
String osname = System.getProperty("os.name").toLowerCase(); |
116 | 116 |
if (osname.contains("windows")) { //$NON-NLS-1$ |
117 |
if (System.getProperty("os.arch").contains("64")) { os = "win64"; } |
|
118 |
else { os = "win32"; } |
|
117 |
os = "win32"; |
|
119 | 118 |
ext = ".exe"; |
120 | 119 |
} else if (osname.contains("mac")) { //$NON-NLS-1$ |
121 | 120 |
os = "macosx"; |
... | ... | |
157 | 156 |
return; |
158 | 157 |
} |
159 | 158 |
|
159 |
|
|
160 | 160 |
Log.warning("SearchEngine preferences set with: "+OSDir.getAbsolutePath()+" and "+execFile.getAbsolutePath()); |
161 | 161 |
TXMPreferences.put(RPreferences.PREFERENCES_NODE, RPreferences.VERSION, currentVersion.toString()); |
162 | 162 |
|
Also available in: Unified diff