-
Java Compiler
I have been trying to compile an applet but when i type "javac <source file>"
it always says "error:cannot read" and i have checked to make sure the name is exactly the same and the class in the source code is the same so would anyone know what i am doing wrong i made a pic of the things that i thought might matter.
-
your DrawingLines.java file in C:\Jsdk~\java directory,
but you use command in C:\document and settings\owner directory.
you should go to same directory with that file ( or give the full path of file in command)
i use that free utility , right click the folder you want to work. choose "command prompt".
it will open a console there
http://www.rjhsoftware.com/rjhextensions/
Last edited by mr1yh1; 11-06-2005 at 06:06 AM.
-
so what would i have to type in the ms-dos prompt if my directory is C:\j2sdk1.4.2_10\java directory and my file that i want to compile is DrawingLines.java?
Also i could not get the utility to work because after i installed it the .exe file it came with just gave me the options of what i wanted to use the ulility for and nothing else.
-
you can use cd ( change directory ) command to go to another directory.
( learn about dir and cd commands , they are most usefull ones )
...
after installing that utility, you will have some extension in rightclick menu, didnt you have them .
rightclick on a folder and choose "command prompt" ( in website i saw "dos prompt" but i guess its and old pic ).
-
no it doesnt give me the right click options but the cd command worked great for me thanks a lot, prolblem solved.
Similar Threads
-
Replies: 2
Last Post: 06-14-2006, 03:16 PM
-
Replies: 1
Last Post: 05-13-2005, 06:46 AM
-
By Rob Abbe in forum Talk to the Editors
Replies: 44
Last Post: 01-13-2003, 02:57 PM
-
By Mike Tsakiris in forum .NET
Replies: 11
Last Post: 10-04-2002, 05:32 PM
-
By JJ in forum Enterprise
Replies: 1
Last Post: 07-06-2000, 04:50 AM
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
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|