in the documents folder - Java Setup 8u171.
Often the most important part of the news is what they didn't tell.
way to execute a java program
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.
There are worse crimes than burning books. One of them is not reading them. Ray Bradbury
It is for people who want to run Java® code but don't need to develop their own. You are obviously developing your own, so you need a JDK.Frankie Bailey wrote:. . . Also, what is the purpose of the JRE? . . . .
Only after you have installed Java®. I am by no means certain, but I believe that Java® hasn't been installed on Windows® by default for quite a long time.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.
I am afraid that isn't correct; you have to edit the PATH yourself.As for the PATH environment variable, it's done automatically when you installed Java, . . .
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.
There are worse crimes than burning books. One of them is not reading them. Ray Bradbury
On windows it is: jdk-10.0.1_windows-x64_bin (390 MB).
That is indeed what happens; when I try installing Java® on Windows®, it shows a default location and gives me the option to install Java® elsewhere. But I have always let it use the default location.Norm Radder wrote:. . . prompts from the installation programs asking where you want the programs to be installed. Most of the java I've installed have asked me where to place the programs. . . .
I cannot get to this folder with a DOS command
applets cannot be seen anymore with any of the modern browsers.
All things are lawful, but not all things are profitable.
embedded spaces. The parser for the path to the command stops at the first space (unless in quotes)must put in quotes "Program Files" because of its ...
them good ole boys were drinking whiskey and rye singin' this'll be the day that I die. Drink tiny ad.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|