![]() ![]() This is the job of the PATH environment variable. But there's a catch: Windows has to know where it can find these programs. You can execute programs from a Command Prompt by simply typing their names, such as javac or java. ![]() The (not all that) hard part: PATH and CLASSPATH The reason for this suggestion is that the next steps in the installation process will be simpler if the folder you choose has a shorter name that, importantly, has no spaces in it. I suggest changing it to the following folder instead: When asked what folder you should install the JDK into, the default will be: However, after running the installation program, you still won't be able to execute javac or java, without making a couple of modifications "under the hood" of your system. The JDK includes an installation program, which places all of the files into the appropriate places and sets up some desktop shortcuts for you. (The JRE is the Java Runtime Environment, which includes the necessary code to allow you to run Java programs, but not to write and compile them!) The download is free! Be sure you download the JDK and not the JRE! The JDK includes a Java compiler ( javac), a Java virtual machine ( java), and all of the standard Java library components - in other words, everything you need to write Java programs in a wide variety of problem domains, and more than enough firepower for the assignments we'll be giving you. ![]() A great option is to download the Java SE 6 JDK (JDK 6) from, the latest version of which is JDK 6 Update 18. What you'll need to get started is a Java compiler and Java virtual machine, both of which must support Java 6. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |