Re: compiling from prompt --- absolute beginner
JSeb wrote:
...
Now I moved the very same "SampleApp.java" to a subdirectory:
"C:\(...)\My Documents\Java Projects\Sample". When I try to compile
from that directory with the same command "javac SampleApp.java", I get
a "cannot find symbol" error:
Try this.. drop the SET commands and simply..
C:\(...)\My Documents\Java Projects\Sample>javac -cp . SampleApp.java
What happens?
Andrew T.
.
Relevant Pages
- RE: Console Application Testing
... vbc.exe could be accessed in Visual Studio Command ... If you want to compile the project in command prompt with vbc.exe, ... Microsoft Online Community Support ... (microsoft.public.dotnet.languages.vb) - Re: cannot run javac command
... No problems with using Netbeans--but can't compile the hello world prog ... using command line. ... That's done but when I go to javac helloworldapp.java as system does not ... Microsoft Windows XP Copyright ... (comp.lang.java.help) - Re: Macro prompt
... I'm sorry, Pcman, I don't think I can help here. ... If you want to test the action of clicking a command button on a form, I suggest you test it by clicking the command button on the form, not by trying to run the Click event code from within the VBE window. ... Steve Schapel, Microsoft Access MVP ... options pop-up menu the the "Compile" section has already checked off Compile ... (microsoft.public.access.macros) - Re: newbie servlet help
... > I'm geting this error when I try to compile a servlet (command line ... a separate jar file (servlet.jar) with the servlet container. ... that location as part of the classpath for javac and java. ... Try adding '-source 1.4' to the javac command. ... (comp.lang.java.programmer) - Re: Using MATLAB functions in C code
... interface to MATLAB engine.When I tried to ... option files needed.The command is as follows: ... MATLAB fft amd ifft functions.I just want to compile them like: ... int mlhs, mrhs; ... (comp.soft-sys.matlab) |
|