javaisyourfriend @ 2007-4-17 8:33:41 PM
"[Drjava-users] having a problem with Dr Java" <mid:100...@ta...>
> Hi everybody, I m new to Java. I v just installed Dr Java on my
> computer, but i have problem compiling my files, everytime when i
> compile, it returns an error says:
> 1 error found:
> File: (no associated file) [line: (no source location)]
> Error: java.lang.NoSuchMethodError:
> com.sun.tools.javac.util.Options.put(Ljava/lang/String;Ljava/lang/String;)V
We have seen this error with users who have installed JDK 6.0. Setting
the tools.jar path should solve this problem.
Select "Edit -> Preferences..." and click on the "..." to the right of
the "tool.jar" field. This will display a file selection dialog.
Now that the selection dialog is open, navigate through your file
system and select your "tools.jar". On Windows, it can often be found
in "C:\Program Files\Java\<jdk version>\lib\tools.jar". If you cannot
find it here, search for "tools.jar" across all your hard drives. On
Linux\Unix and Mac OS X, typing "locate tools.jar" at a command line
can help you locate it.
--
Chris Warrington <ch...@ri...>
In an office: WOULD THE PERSON WHO TOOK THE STEP LADDER YESTERDAY
PLEASE BRING IT BACK OR FURTHER STEPS WILL BE TAKEN
|