`
lucane
  • 浏览: 119063 次
  • 性别: Icon_minigender_1
  • 来自: 江湖
社区版块
存档分类
最新评论

Environment Variables for Java

阅读更多
JAVA_HOME
JDK_HOME
PATH
CLASSPATH


javac -d . HelloWorld.java
java com.live.xscript.demo.HelloWorld
java -verbose com.live.xscript.demo.HelloWorld


默认情况下(sun javac)
rt.jar
dt.jar
tools.jar
都不用放在CLASSPATH
系统默认就包含了

但用其他的编译器如jikes
CLASSPATH中就要包含rt.jar
JAVA_HOME=JDK_HOME
D:\Program Files\Java\jdk1.5.0

CLASSPATH
.;%JAVA_HOME%\jre\lib\rt.jar;D:\Program Files\Java\lib

PATH
%JAVA_HOME%\bin;

分享到:
评论

相关推荐

    Java: A Beginners Complete Reference Guide to Learn The Java Programming

    You’ll learn how computers make decisions and how Java keeps track of information through variables and data types. You’ll learn to create conditional statements, functions, and loops to process ...

    Android代码-java-dotenv

    Anything that is likely to change between deployment environments–such as resource handles for databases or credentials for external services–should be extracted from the code into environment ...

    Java.Crash.Course.1541019245.epub

    This amazing Java Crash Course is the book that you are looking for. Table of Contents Chapter 1: Let's Start From The Beginning Chapter 2: Java Environment Chapter 3: Java Language Structure Chapter...

    was内存溢出分析工具jca401

    You can control it by using environment variables and runtime switches. Javacore contains diagnostic information related to the JVM and a Java application captured at a point during execution. For ...

    Java2核心技术卷I+卷2:基础知识(第8版) 代码

    Chapter 2: The Java Programming Environment 15 Installing the Java Development Kit 16 Choosing a Development Environment 21 Using the Command-Line Tools 22 Using an Integrated Development ...

    Introduction to Programming in Java 2nd Robert Sedgewick

    Detailed instructions for installing a Java programming environment Program code and test data suitable for easy download Detailed creative exercises, projects, and other supplementary materials ...

    mastering.java

    Chapter 1: Java Basics – you will learn the basic programming elements of the Java language, including how to set up your programming environment, using a text editor and how to write a program....

    Elasticsearch for Hadoop

    Setting up environment variables Configuring Hadoop Configuring core-site.xml Configuring hdfs-site.xml Configuring yarn-site.xml Configuring mapred-site.xml The format distributed filesystem ...

    Introduction to Programming in Java, 2nd Edition (2017.4出版.EPUB格式)

    Detailed instructions for installing a Java programming environment Program code and test data suitable for easy download Detailed creative exercises, projects, and other supplementary materials ...

    java.核心技术.第八版 卷1

    This revised edition of the classic Core Java™, Volume I–Fundamentals, is the definitive guide to Java for serious programmers who want to put Java to work on real projects. Fully updated for the ...

    Java Crash Course [2016]

    You will know how to install Java and set up the Java environment You will understand the language structure You will learn what it is a Java variable and how we can use it You will understand how to ...

    Learning Processing-Daniel Shiffman

    It uses the open source programming language Processing as the basis for all discussion and examples, focusing on the fundamentals such as variables, conditionals, loops, arrays, and objects in a ...

    rdbcache:Redis数据库缓存异步API代码库

    正在进行重大重建。 请等待文档更新。 本自述文件可作为快速入门文档。 有关更多详细文档,请访问网站: ...Please replace the values with the proper ones for your environment. export RDBCACHE_PORT=8181 export

    Learning Kotlin by building Android Applications

    This book is also for advanced Android developers who want to learn to use Kotlin instead of/alongside Java for Android development, although having some programming experience would be advantageous....

    Covert Java Techniques for Decompiling, Patching,and Reverse Engineering.7z

    4 Hacking Non-Public Methods and Variables of a Class.............................43 5 Replacing and Patching Application Classes .............................................51 6 Using Effective ...

    Android.Games.Practical.Programming.By.Example.Quickstart

    You'll learn how to install Android developer tools bundle and configure environment variables. Lastly, we'll introduce a set of Android tools that help you debug and profile your apps. Unit 2, ...

    HarmonyOS推送-HMOS-SDK-Setup:GitHubActions的HarmonyOSSDK设置

    HarmonyOS 推送HMOS-SDK-设置 GitHub Actions 的 HarmonyOS SDK 设置 创建 Github 操作工作流。 在创建 repo 并添加所有代码之后。...actions/setup-java@v2 ...java-version: ...for ...environment variables uses:

    JIDE Desktop Application Framework(桌面应用框架) 开发员技术手册

    Environment Variables - capture and access environment variables, single 1.4.2+ solution FileFormat API marshals data to/from application - default support for common formats Map file formats to ...

    UE(官方下载)

    Using "copied" and "selected" variables for dynamic macros Use copied and selected text in macros to dramatically increase the power and flexibility of UltraEdit macros Run a macro or script from the ...

Global site tag (gtag.js) - Google Analytics