Havi I missed Something
Hi I'm currently teaching myself the basics of Java using a few books I bought, I've installed the lastest version of Java SDK and I'm using Textpad as my editor because of the in built compiler, but every time I try to compile an applet it keeps coming up with this error message saying system cannot find specified file ??? All the files have been saved using the .java extension. I know this is a really basic stupid question and I apologise but its driving me mad and I can't do any excersies with being able to compile the examples in the book. I think it has something to do with the folder I specified the files should be saved in...... Please help
THANKS FROM A GRATEFUL NEWBIE
Do u mean that "Textpad" has a compiler? I don't believe that it will be as effective as a java based IDE ...
if u want my recommendation, try the NetBeans IDE ...
but if u just want a Text Editor, I would also recommend better the "NotePad++" ...
both of what I mentioned are FREE + OpenSource, and I'm not advertising, I'm just Fan of them
back to ur issue, I think the problem is that u call the javac but u don't specify the FULL file path, or vice versa [I mean u don't specify the correct javac path] ... try something like this command from the "file.java" location:
Add path to windows environment manually
I believe you did not add path to environment.
You may double check by yourself. You can
open control panel, double click "system" icon.
from system property, click "Advanced" tab,
at the bottom click the "Environment variables" button
from the "system variable", select "path", click "edit" button
add the path (java compiler) to the end of the "valuable value".
I hope this help
Try JCreator LE (Free)
*shrug* I find it easy to use.
Can you compile a simple Hello World application?
Hi royal... save your java files inside bin folder. and also mention path in enviroment variable named JAVA. then from command promt, go to that location and then compile. it will work.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center