chima
asked on
Eclipse - Run as Java application...compiling
This is kind of a foolish question, but I rather not be a fool, so I will ask.
I am compiling a class. The code does not have any errors, but when I compile it, the console shows this: <terminated>NameOfClass[Ja va Application]C:\path to Java jre1.6.0_07\bin\javaw.exe( today's date).
Now does this mean that it compiled correctly? I can't recall see this in other code that I have compiled.
thanks
I am compiling a class. The code does not have any errors, but when I compile it, the console shows this: <terminated>NameOfClass[Ja
Now does this mean that it compiled correctly? I can't recall see this in other code that I have compiled.
thanks
ASKER
Ivostoykov, hello
From the public void main(args) file, I do a "Run As" sometimes a Debug. Sometimes at the Class file I do a "Run As - Run Configuration"
While we are on the subject, I have not been able to "step into" the code. I've used an older version of Eclipse and remember being able to do so. I am now using GANYMEDE and I have not come across the icons to troubleshoot the code line by line.
Any suggestion where I might look?
From the public void main(args) file, I do a "Run As" sometimes a Debug. Sometimes at the Class file I do a "Run As - Run Configuration"
While we are on the subject, I have not been able to "step into" the code. I've used an older version of Eclipse and remember being able to do so. I am now using GANYMEDE and I have not come across the icons to troubleshoot the code line by line.
Any suggestion where I might look?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ivostoykov, you must be Russian?
I have been compiling with the <terminated> message, so I think it is okay.
Allow me to ask an obvious question. I have my main(String[] args) in a "Class" file. I was expecting to see a main executable but I am not getting it. It might be that I have to have my main in a "java" file.
I hope you understand my question. I hoping to generate an .exe file.
I have been compiling with the <terminated> message, so I think it is okay.
Allow me to ask an obvious question. I have my main(String[] args) in a "Class" file. I was expecting to see a main executable but I am not getting it. It might be that I have to have my main in a "java" file.
I hope you understand my question. I hoping to generate an .exe file.
ASKER
It was an Eclipse menu Window, show view, setting issue.
Now my console does show the output.
Now my console does show the output.
How do you compile your application?