Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
Beginning Java
jre is installed instead of jdk in jdk-8u31-windows-x64?
Matt Taylor
Ranch Hand
Posts: 74
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi guys, I want to install a jdk on my new os but everytime I install when I type
java
-version, it says:
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
My installer only installs jre and not the whole JDK.
I am using the installer jdk-8u31-windows-x64.
Liutauras Vilda
Sheriff
Posts: 8890
638
I like...
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How do you know that installs only jre? Who makes you think like that?
Check javac -version
Campbell Ritchie
Marshal
Posts: 79701
381
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Don't use JDK8u31, since 8u45 is now
available
.
Liutauras Vilda
Sheriff
Posts: 8890
638
I like...
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Well, Campbell is absolutely right, after you install 8u45, you suppose to get similar to:
bsd-daemon:~ liutaurasvilda$ javac -version javac 1.8.0_45
Jesper de Jong
Java Cowboy
Posts: 16084
88
I like...
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The JRE is included with the JDK.
When you use the
java
command to run a Java program, the JRE that is included with the JDK is being used.
The JDK = the JRE + tools such as the Java compiler.
The output you get is normal, there's nothing wrong.
Jesper's Blog
-
Pluralsight Author Page
Matt Taylor
Ranch Hand
Posts: 74
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
yes, thank you very much for your response. I did not realize that they also installed and created a folder for jdk alongside jre directory.
She's out of the country right now, toppling an unauthorized dictatorship. Please leave a message with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Why does java.exe in \Windows\System32 change its version number?
Eclipse Windows 7 (64) bit Does'nt Start.
Multi CPU configuration for a webapplication deployed on tomcat
Weblogic thread stuck on native call of PCKS11 library. Thread dump attched..
if (false == true) Universe.end(42);
More...