【有问有答】Q3&4:Java环境与HelloWorld程序
2005-01-17 22:21
561 查看
我们以在Windows平台建立Java环境为例子,把问题分解成以下几步:
1 下载JDK,我们还是使用J2SDK 1.4版本,去哪里下载,呵呵,想想谁设计的Java,对Sun。
去www.sun.com.cn吧。
问题又来了,在http://www.sun.com/download/index.jsp?cat=Application%20Development&tab=3看到好多SDK下载,我该下什么??
注意 我们下载的是J2SE的SDK,请大家看看自己的参考书,J2ME、J2SE和J2EE有什么区别和联系。
2 下载后,在本地安装,如果你下载的是Windows平台,那么你就可以象安装其他的Windwos程序一样来进行安装
3 设置PATH 和 ClassPath环境变量 请利用原来Java课程的知识,自行设置这两个环境变量,并回忆当时老师的讲解,Path和ClassPath各有什么作用?
4 开始编写HelloWorld吧 有问题么?编译通不过?不能运行?好,你把问题反映出来吧!
1 下载JDK,我们还是使用J2SDK 1.4版本,去哪里下载,呵呵,想想谁设计的Java,对Sun。
去www.sun.com.cn吧。
问题又来了,在http://www.sun.com/download/index.jsp?cat=Application%20Development&tab=3看到好多SDK下载,我该下什么??
| The definitive environment for enterprise software. All available community source code versions, for Solaris/Linux/Windows. | Download More Info | ||
| A preferred platform for the development of Java applications which can then be deployed on a variety of OS platforms. | Download More Info | ||
| A preferred platform for the development of Java applications which can then be deployed on a variety of OS platforms. | Download More Info | ||
| A preferred platform for the development of Java applications which can then be deployed on a variety of OS platforms. | Download More Info | ||
| Java 2 SDK, Java 2 Runtime Environment (JRE), including Java Plug-in, for Solaris/Linux/Windows. | Download More Info | ||
| Java 2 SDK, Java 2 Runtime Environment (JRE), including Java Plug-in, for Solaris/Linux/Windows. | Download More Info | ||
| The Platform for Enterprise |
2 下载后,在本地安装,如果你下载的是Windows平台,那么你就可以象安装其他的Windwos程序一样来进行安装
3 设置PATH 和 ClassPath环境变量 请利用原来Java课程的知识,自行设置这两个环境变量,并回忆当时老师的讲解,Path和ClassPath各有什么作用?
4 开始编写HelloWorld吧 有问题么?编译通不过?不能运行?好,你把问题反映出来吧!
相关文章推荐
- 一、JAVA环境设置+第一个程序HelloWorld
- JAVA语言概述,学习路线、环境变量的配置以及最简单的程序HelloWorld
- Java环境配置以及第一个小程序HelloWorld
- Win10操作系统下,Java环境变量的配置&&Java入门小程序“hello,world”的编译
- Scala & IntelliJ IDEA环境搭建升级版:在JAVA中调用Scala的helloworld
- Java入门学习-理解什么是JRE和JDK,然后搭建JAVA开发环境,用eclipse写出第一个helloworld程序
- Java & OpenCV (一) ——环境配置及简单程序编写
- java  棋盘覆盖程序 算法分析题目
- eclipse编写的java程序导入ubuntu环境下运行的写法
- Sublime Text3配置java程序运行环境(引入不同jar包、输入)
- JAVA->编译环境软件EDITPLUS(转载)
- 配置JDK 工作环境,编绎执行JAVA程序
- 【Android】简单详细的安卓开发环境配置及运行第一个程序Helloworld
- 配置java环境变量与运行java程序
- $_SERVER['HTTP_HOST']在客户的环境里,取得的值总是程序所在的服务器在其局域网内的ip值解决方法
- VS2010+OSG3.2+CEGUI 0.8.4环境下实现简单的HelloWorld程序
- java程序环境的测试
- 黑马程序员 Java基础<一>---> java运行环境搭建
- 【Java学习】Java环境设置、HelloWorld例子、Ant环境及运行
- 【VS2013】OpenCl环境搭建&helloworld