Eric Arnold wrote:Frankie, take a look in C:\Program Files\Java\
I believe that is the default installation directory on Windows. In there you should find your jdk-10.0.1 installation.
As for the PATH environment variable, it's done automatically when you installed Java, so assuming it's installed, you should be able to use java/javac/jar from the command line in any directory.
Stephan van Hulst wrote:By the way, why does the entity have an ID if it already has a unique name? The ID is superfluous and just plain cumbersome.
Frankie Bailey wrote:
OK - I had only downloaded the JRE. I went and downloaded the JDK. I have both but I understand the JDK includes the JRE. What next? How do I get to a place to run a java program?
I know how to use the command line in the dos window. Would that be the only way to execute a java program unless I have an IDE?
Also, what is the purpose of the JRE? I must be sounding like a head without brains here.
Thanks for the responses - every little bit helps.
Robert Manley wrote:
Copied java file into this window, highlighted and pressed "code" button.
Then clicked "preview".
No change. no line numbers.
What am I doing wrong?
Particularly annoying as I know I have done it correctly in the past.
Nasio denasio wrote:
This statement is ridiculous considering that this is a Beginning Java forum. Do you tell everyone who asks question here to think for a moment what they need to do differently to make the code work? These forums are for asking questions or not?
If you want to help with tips or code, then that's great! Otherwise keep quiet and let others who are willing to help answer.