Eclipse and JDK [message #1847503] |
Fri, 29 October 2021 10:38 |
Gaspare Pero Messages: 3 Registered: October 2021 |
Junior Member |
|
|
Hi, I am from Italy, and sometimes I enjoy creating some little programs in Java, SE level.
I usually use Notepad++ for writing code and Windows 10's prompt for compiling (javac) and running (java).
JDK and JRE are installed on my computer, and system variables are set (just because prompt runs java commands).
Yesterday I tried Eclipse, the more "simple" and recent version, for Java developers, discoverying it has its own JRE; the installer asked me which JRE I want to use, between those detected in my computer and the "internal" ones, but there is no request for JDK to set something as is the case for NetBeans I used earlier.
Looking several sites, I have read that Eclipse on Windows may work using "only" JRE, but JRE is for the execution, cannot compile because the javac command is into JDK library... Which sparked a doubt in me. After all, if I start to write System, Eclipse already offers me suggests to complete the instruction, so it doesn't seem to me that it deals only with execution (JRE).
Basically my question is: on a computer that does not have Java pre-installed, does Eclipse work the same using "its" JRE only?
And in 2nd: are a Setting tab in Eclipse where I can say it where JDK is?
Thanks.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03640 seconds