C:\Documents and Settings\g9053\Desktop>java -jar
drjava-beta-20060510-2133.jar
Exception in thread "main" java.lang.Error: getenv no
longer supported, use prop
erties and -D instead: ProgramFiles
at java.lang.System.getenv(Unknown Source)
at
edu.rice.cs.util.classloader.ToolsJarClassLoader.getToolsJarFiles(Too
lsJarClassLoader.java:71)
at
edu.rice.cs.util.classloader.ToolsJarClassLoader.getToolsJarURLs(Tool
sJarClassLoader.java:149)
at
edu.rice.cs.util.classloader.ToolsJarClassLoader.<init>(ToolsJarClass
Loader.java:54)
at
edu.rice.cs.drjava.DrJava.<clinit>(DrJava.java:95)
Logged In: YES
user_id=1075744
This code is only run on Windows; we should detect that
situation and just not execute the offending statement, if
we cannot find another solution.
Logged In: YES
user_id=1075744
As of revision 3907, if System.getProperty("java.version")
starts with "1.3" or "1.4", then System.getenv is not used.