+ 1
Compiling and running program on windows java
so im building programm hello world in eclipse and I have to make packages and how tthis packages affect classpath ?because I cant run programs from command line because class couldnt be find or loaded. when I delete a package name from .java file I can compile and run everything correct. please help me cuz im novice
7 Respostas
+ 9
Now I'm just fed up, Search it on Google...Huh!
+ 8
On the menu bar(on top of eclipse), select help>welcome. There you'll see an option for creating your first Hello World project...(it'll guide you):)
+ 8
After you have completed your coding, just press ctrl+s and it'll compile then to execute it right click on your code and select run as:)
+ 4
Google had it all:)
But you may try open the CMD from the eclipse package file which have the . java source code.
+ 1
there is no such thing as first hello program at my eclipse I just want to know how to compile my programs when they got package line at top of the code
+ 1
sure dayve, it runs in eclipse but I want run in cmd :)
0
thanks for answers:)