`
leonzhx
  • 浏览: 793325 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Chapter 2. The Java Programming Environment -- Core Java Ninth Edition

阅读更多

1.    After you are done installing the JDK, you need to carry out one additional step: Add the jdk/bin directory to the executable path—the list of directories that the operating system traverses to locate executable files:
    a)    In UNIX (including Linux, Mac OS X, and Solaris), the procedure for editing the executable path depends on the shell you are using. If you use the Bourne Again shell (which is the Linux default), then add a line such as the following to the end of your ~/.bashrc or ~/.bash_profile file:
export PATH=jdk/bin:$PATH
    b)    Under Windows, log in as administrator. Start the Control Panel, switch to Classic View, and select the System icon. In the system properties dialog, click the Advanced tab, then click on the Environment button. Scroll through the System Variables window until you find a variable named Path. Click the Edit button. Add the jdk\bin directory to the beginning of the path, using a semicolon to separate the new entry, like this:
jdk\bin;other stuff

 

2.    The documentation is contained in a compressed file that is separate from the JDK. You can download the documentation from www.oracle.com/technetwork/java/javase/downloads.

 

3.    You can download the Core Java Program from http://horstmann.com/corejava.

 

4.    The javac program is the Java compiler. It compiles the .java file into the .class file. The java program launches the Java virtual machine. It executes the bytecodes that the compiler placed in the class file. The compiler requires a file name (Welcome.java). When you run the program, you specify a class name (Welcome) without a .java or .class extension.

 

5.    appletviewer is a special tool included with the JDK that lets you quickly test an applet. You need to give this program an HTML file name, rather than the name of a Java class file. The applet viewer has no capabilities to send mail or display a web page, and it ignores all HTML tags except for the applet tag.

 

6.    Many browsers do not have Java support enabled by default. The page http://java.com/en/download/help/enable_browser.xml shows how to set up the most common browsers for Java.

分享到:
评论

相关推荐

    小学英语单词测试.doc

    2. 绿色(的)- green 3. 红色(的)- red 4. 黄色(的)- yellow 5. 橘色(的)- orange 6. 紫色(的)- purple 7. 白色(的)- white 8. 黑色(的)- black 9. 棕色(的)- brown 10. 学校 - school 11. 书 - book...

    Core Java Volume II Advanced Features Ninth Edition.part2.rar

    由于受制于上传文件大小,请先下载Core Java Volume II Advanced Features Ninth Edition.part1.rar再下载该文件。

    Core Java Volume II Advanced Features Ninth Edition.part1.rar

    我自己制作的,源代码附在书本后面,在书中实例可以直接链接查看源代码。请下载Core Java Volume II Advanced Features Ninth Edition.part2.rar放在同一目录解压。

    OpenGL Programming Guide Ninth Edition.pdf

    • Chapter 2 , “Shader Fundamentals ,” discusses the major features of the OpenGL Shading Language and SPIR-V, demonstrating how to initialize and use themwithin an application. • Chapter 3 , ...

    Pro Java Programming, 2nd Edition

    ### 《Pro Java Programming, 2nd Edition》关键知识点概览 #### 一、书籍基本信息 - **书名**:《Pro Java Programming, 2nd Edition》 - **中文译名**:《Java高级编程(第2版)》 - **作者**:Brett Spell - **...

    小学英语单词(测试).doc

    2. Green - 绿色 3. Red - 红色 4. Yellow - 黄色 5. Orange - 橙色 6. Purple - 紫色 7. White - 白色 8. Black - 黑色 9. Brown - 棕色 10. School - 学校 11. Book - 书 12. Chair - 椅子 13. Class - 班级 14. ...

    [Apress.J2EE系列].Apress.Pro.JSP.2.4th.Edition.Dec.2005

    Pro JSP 2, Fourth Edition Copyright © 2005 by Simon Brown, Sam Dalton, Daniel Jepp, Dave Johnson, Sing Li, and Matt Raible All rights reserved. No part of this work may be reproduced or transmitted ...

    Core Java(Volume II--Advanced Features 9th Edition)

    Fully updated to reflect Java SE 7 language changes, Core Java®, Volume II—Advanced Features, Ninth Edition, is the definitive guide to Java’s most powerful features for enterprise and desktop ...

    英文原版-Operating System Concepts Essentials 2nd Edition

    This second edition of the Essentials version is based on the recent ninth edition of the original text.Operating System Concepts Essentials comprises a subset of chapters of the ninth edition for ...

    C++ How to Program, 10th Edition

    The best-selling C++ How to Program is accessible to readers with little or no programming experience, yet comprehensive enough for the professional programmer. The Deitels’ signature live-code ...

    Pro ASP.NET Core 6 Ninth Edition

    Pro ASP.NET Core 6 Develop Cloud-Ready Web Applications Using MVC,Blazor,and Razor Pages -Ninth Edition- Adam Freeman 英文版

    Core Java, Volume II--Advanced Features (9th Edition).pdf

    在《Core Java, Volume I—Fundamentals, Ninth Edition》中,读者将找到关于Java SE 7基础特性(包括对象、类、继承、接口、反射、事件、异常、图形、Swing、泛型、集合、并发和调试等)的详细覆盖。 本书提供了...

    译林版小升初英语公式及固定搭配.pdf

    3. the Spring Festival/Dragon Boat Festival/Mid-Autumn Festival/Double Ninth Festival (春节/端午节/中秋节/重阳节) - 指中国的传统节日。 4. holiday (假期) - 指假期或假日。 还涉及了一些表达位置和方向的...

    江苏省永丰初级中学九年级英语上册Unit3Teenageproblems复习讲义无答案新版牛津版

    6. 一个九年级的学生 - A ninth-grader 7. 别无选择只能… - Have no choice but to... 8. 不得不熬夜 - Have to stay up late 9. 按时完成家庭作业 - Finish homework on time 10. 值得做 - Be worth doing 11. 给...

    新目标七年级英语上册期末考试题及答案.pdf

    的照片”用"the photo of..."。正确答案是B. for; of。 - 题目6询问的是月份顺序,九月是一年中的第九个月,所以用序数词"ninth"。正确答案是D. ninth。 2. 以上题目继续: - 题目7是接受他人赞美时的回答,用...

    Book5 Unit2 Work with Language练习题(月份与日期)2.doc

    - 2008年1月9日:January the ninth 2008(缩写:Jan. 9th 2008) - 2199年7月12日:July the twelfth 2199(缩写:Jul. 12th 2199) - 1997年2月20日:February the twentieth 1997(缩写:Feb. 20th 1997) 4....

    期中考试7B英语试题(卷).doc

    4. September is the ninth month of a year. - 序数词ninth表示第九。 5. I’d like five loaves of bread. - loaf的复数是loaves。 6. The sea looks beautiful in a sunny day. - 形容词sunny修饰名词day。 7. ...

    Java Programming

    2. 书籍介绍及版本信息:文档中提到了《Introduction to Java Programming, Brief Version, Ninth Edition》,这表明该文档可能是一本有关Java编程的教科书,该书版本为第九版的简略版。通常,书籍的版本更新会包含...

    基数词序数词练习题集(含答案解析).doc

    2. 正确答案是C. hundreds of times。当表达“数百次”时,我们用"hundreds of",而非具体的基数词搭配。 3. 正确答案是B. four hundred and forty-five。在数字表达中,百位和十位之间用"and"连接,不需要额外的"s...

Global site tag (gtag.js) - Google Analytics