« Return to Thread: having a problem with Dr Java

Re: having a problem with Dr Java

by Christopher Warrington :: Rate this Message:

Reply to Author | View in Thread


javaisyourfriend @ 2007-4-17 8:33:41 PM
"[Drjava-users] having a problem with Dr Java" <mid:10050809.post@...>

> 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 <chrisw@...>


In an office: WOULD THE PERSON WHO TOOK THE STEP LADDER YESTERDAY
PLEASE BRING IT BACK OR FURTHER STEPS WILL BE TAKEN


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Drjava-users mailing list
Drjava-users@...
https://lists.sourceforge.net/lists/listinfo/drjava-users

 « Return to Thread: having a problem with Dr Java