V
veontaiahmerion
I'm currently in a college course for Java Programming. However, trying to
compile my programs are difficult. I have downloaded the software required
but when I enter javac Welcome1.java it says javac: file not found: I did a
DIR check to see if the file Welcome1.class file was there, but it is not.
My instructor said that before I can run the .class file, I will need to
compile it with java first. I'm struggling with this very much and do not
know where to go from here or where the problem is coming from. From the
command prompt, i entered javac.exe and it brought up all kinds of info.
Usage: javac <options> <source files>
where possible options include
-g generate all debugging info
-g: none generate no debugging info
-g: {lines, var, source} generate only some debugging info
-nowarn generate no warnings
-verbose output messages about what the compiler is doing
depreciation output source locations where depreciated API's are used
-classpath <path> specify where to find user class files and annotations
on processors
-cp <path> specify where to find user class files and
annotations
on processors
-source path <path> specify where to find input source files
-boot class path <path> overide location of bootstrap class files
My instructor says that I have the software installed correctly, but I
cannot run any of my programs that I write in notepad. Can somebody please
help me?
compile my programs are difficult. I have downloaded the software required
but when I enter javac Welcome1.java it says javac: file not found: I did a
DIR check to see if the file Welcome1.class file was there, but it is not.
My instructor said that before I can run the .class file, I will need to
compile it with java first. I'm struggling with this very much and do not
know where to go from here or where the problem is coming from. From the
command prompt, i entered javac.exe and it brought up all kinds of info.
Usage: javac <options> <source files>
where possible options include
-g generate all debugging info
-g: none generate no debugging info
-g: {lines, var, source} generate only some debugging info
-nowarn generate no warnings
-verbose output messages about what the compiler is doing
depreciation output source locations where depreciated API's are used
-classpath <path> specify where to find user class files and annotations
on processors
-cp <path> specify where to find user class files and
annotations
on processors
-source path <path> specify where to find input source files
-boot class path <path> overide location of bootstrap class files
My instructor says that I have the software installed correctly, but I
cannot run any of my programs that I write in notepad. Can somebody please
help me?