|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi! I am new to java programming and has started having my first problems, my compiler just doesnt work, all it says is bad command or file name when i compile. I have tried everything the installation instructions and troubleshooting instructions says, setting classpath and all that but it works not. Can anyone help me solve this problem? the OS i use is win98 second edition.
Hope I get some help.Thanks |
|
#2
|
||||
|
||||
|
Did you add the java compiler command to your path?
|
|
#3
|
||||
|
||||
|
You could try calling the compiler with the full path...
For example: C:\(path-to-java)\bin\javac myprogram.java Expanding on dhouston's post, here's a quick tutorial on automatically setting the path... http://ccism.pc.athabascau.ca/html/vhd/javapath.xml |
|
#4
|
|||
|
|||
|
Just go to dos prompt and set
path = the java's bin directory |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Java Development > Help needed with java compiler |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|