-
PLease Help
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.
-
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.
-
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.
>
>
-
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.
-
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):
-classpath ".;D:\jdk1.3\lib\tools.jar" $File
Good luck!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks