• Post Reply Bookmark Topic Watch Topic
  • New Topic

installing the JDK doesn't give me a "javac.exe" file  RSS feed

 
Kevin Simonson
Ranch Hand
Posts: 223
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Recently, I've been spending a lot of time on a computer at my local library. The library requests that I save files to a flash drive, not to the computer hard drive, so I went to "www.oracle.com/technetwork/java/javase/downloads/index.html", clicked on <JDK DOWNLOAD>, took a look in the section labeled "Java SE Development Kit 8u40", located the row labeled "Windows x64", and clicked on <jdk-8u40-windows-x64.exe> next to it. Once that file downloaded I ran it. When prompted for a location for the installation, I typed in "E:\Java\8u40-windows-x64", since "E:" corresponds to my jump drive. That created a "bin" directory at that location that has a "java.exe" file, but "E:\Java\8u40-windows-x64\bin" doesn't have a "javac.exe" file. What use is it to download a JDK for developing Java if I can't compile it with "javac.exe"? Does anybody know what I might have done wrong in the process that kept a "javac.exe" file from being installed in my "E:\Java\8u40-windows-x64\bin" directory?
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I doubt if installing the JDK on a removable drive like that will work well.

Are you sure you installed the JDK on the USB stick and not just the JRE? The JRE (Java Runtime Environment) does not include the Java compiler and other tools that are included in the JDK.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!