how to setup javac compiler for robocode in windows?

View: New views
1 Messages — Rating Filter:   Alert me  

how to setup javac compiler for robocode in windows?

by teakay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I succeed to install robocode .But when I try to open the compiler.Below message appear :

Please wait while Robocode sets up a compiler for you...
Setting up compiler for Windows XP
Java home is C:\Program Files\Java\jre1.6.0_07
Testing compile with javac...
javac does not exist.

And when i try to compile,command prompt show:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at javax.swing.ImageIcon.<init>(Unknown Source)
at sun.swing.WindowsPlacesBar.<init>(Unknow... Source)
at com.sun.java.swing.plaf.windows.WindowsF...
lder(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsF...
s(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserU... Source)
at com.sun.java.swing.plaf.windows.WindowsF...
n Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknow... Source)
at javax.swing.JFileChooser.setup(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at robocode.editor.EditWindow.fileSaveAs(Un... Source)
at robocode.editor.EditWindow.fileSave(Unkn... Source)
at robocode.editor.EditWindow.fileSave(Unkn... Source)
at robocode.editor.RobocodeEditor.saveRobot... Source)
at robocode.editor.RobocodeEditorMenuBar.fi...
Source)v

please somebody help me