At our school, textpad is used in conjunction with java in order to write
programs. I have downloaded java and textpad to my computer. When i pull
up an appliction in java and press Compile, a messege comes up that says:
BAD COMMAND OR FILE NAME
PROCESS COMPLETED SUCCESSFULLY
Please help me. I have no idea what is going on. I am not that intelligent
with computers. If you can help me, i sure would appreciate it.
03-06-2001, 04:46 PM
Re: PLease Help
to compile java code, you must type 'javac programname.java' at the prompt.
"KSA" <lander_gal@yahoo.com> wrote in message
news:3aa54fb3$1@news.devx.com...
>
> At our school, textpad is used in conjunction with java in order to write
> programs. I have downloaded java and textpad to my computer. When i pull
> up an appliction in java and press Compile, a messege comes up that says:
> BAD COMMAND OR FILE NAME
> PROCESS COMPLETED SUCCESSFULLY
>
> Please help me. I have no idea what is going on. I am not that
intelligent
> with computers. If you can help me, i sure would appreciate it.
03-06-2001, 04:57 PM
Re: PLease Help
in addition, make sure that you save your code with a .java extension.
<tony> wrote in message news:3aa55953@news.devx.com...
> to compile java code, you must type 'javac programname.java' at the
prompt.
>
>
> "KSA" <lander_gal@yahoo.com> wrote in message
> news:3aa54fb3$1@news.devx.com...
> >
> > At our school, textpad is used in conjunction with java in order to
write
> > programs. I have downloaded java and textpad to my computer. When i
pull
> > up an appliction in java and press Compile, a messege comes up that
says:
> > BAD COMMAND OR FILE NAME
> > PROCESS COMPLETED SUCCESSFULLY
> >
> > Please help me. I have no idea what is going on. I am not that
> intelligent
> > with computers. If you can help me, i sure would appreciate it.
>
>
03-10-2001, 11:34 AM
JohnB
Re: PLease Help
"KSA" <lander_gal@yahoo.com> wrote:
>
>At our school, textpad is used in conjunction with java in order to write
>programs. I have downloaded java and textpad to my computer. When i pull
>up an appliction in java and press Compile, a messege comes up that says:
>BAD COMMAND OR FILE NAME
>PROCESS COMPLETED SUCCESSFULLY
>
>Please help me. I have no idea what is going on. I am not that intelligent
>with computers. If you can help me, i sure would appreciate it.
Unbeknownst to some of the readers, TextPad has a built in 'link' to the
Java compiler, IF IT IS PROPERLY INSTALLED! My first suggestion is to uninstall/reinstall
TextPad. You might also want to check to make sure Java is properly installed,
especially your environment CLASSPATH variable. Any decent beginning book
on Java can explain CLASSPATH.
03-10-2001, 05:45 PM
Javier
Re: PLease Help
You should check your classpath. If you haven't set it as a system variable
in your autoexec.bat or in your control panel you could do it directly in
yor Textpad.
Go to Configure -> Preferences -> Tools -> Compile Java
In the parameters field should type (the following is where I installed my
jdk1.3, be sure to modify the path to your own installation path):