Home Database Mysql Tutorial JSP开发前菜鸟设置篇_MySQL

JSP开发前菜鸟设置篇_MySQL

Jun 01, 2016 pm 02:06 PM
c lib develop rookie set up

      由于朋友问起我开发jsp前都要做些什么,就写了这篇东东。
  如果有高手误进,请指正,不要扁我喔!:)

  前期准备软件:
  j2sdk-1_4_0_01-windows-i586.exe   -----jsdk java开发工具包
  jakarta-tomcat-5.0.18.zip   -----tomcat5 服务器
  jcpro300.zip     -----jcreator3.0 java编译工具
  j2sdk是必须的,另外两个可自选,听说eclipse加lomboz也不错(eclipse是ide,
  即集成开发环境,lomboz是它的一个插件,据说调试jsp比较方便)

  我的安装目录(可自定义):
  c:\j2sdk1.4.0_01
  c:\tomcat5

  具体设置(win2000 pro):
  jsdk & tomcat
  我的电脑/属性/高级/环境变量
  系统变量path
  变量值加入c:\j2sdk1.4.0_01\bin;c:\tomcat5\bin    (此句前面加;结束前一语句)
  新建一个系统变量,变量名classpath
  变量值c:\tomcat5\common\lib;.;c:\j2sdk1.4.0_01\lib;.
  (别忘了后面要加.喔!!)

  tomcat
  编辑c:\tomcat5\bin\startup.bat
  加入
  set java_home=c:\j2sdk1.4.0_01
  set tomcat_home=c:\tomcat5
  set catalina_home=c:\tomcat5

  jcreator
  菜单configure/options
 点左边菜单jdk profiles
  双击j2sdk1.4.0_01(无就新建一个)
  home path为jsdk路径
  classes为类文件包
  点add,add path为添加目录路径,add archive为添加文件
  以下为要添加的文件:
  c:\j2sdk1.4.0_01\jre\lib\rt.jar
  c:\j2sdk1.4.0_01\lib\dt.jar
  c:\j2sdk1.4.0_01\lib\tools.jar
  c:\j2sdk1.4.0_01\jre\lib\ext\dnsns.jar
  c:\j2sdk1.4.0_01\jre\lib\ext\ldapsec.jar
  c:\j2sdk1.4.0_01\jre\lib\ext\localedata.jar
  c:\j2sdk1.4.0_01\jre\lib\ext\sunjce_provider.jar
  c:\tomcat5\common\lib\jsp-api.jar
  c:\tomcat5\common\lib\servlet-api.jar

  一般来说,你第一次装完运行jcreator,它会要你设置一些东西,一般它自己
会找到j2sdk目录,帮你添加以上这些东西(只是jcreator的设置喔),不过
tomcat那两个jar文件要自己添加的!另外,在很多书上说的jsp.jar和servlet.jar
就是我上面添加那两个文件,可能因为版本不同,所以名字改了吧:)

  ok!做完以上设置,基本的设置已完成,自己试一下吧!

 

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to set the scheduled time for publishing works on Douyin? How does it set the video duration? How to set the scheduled time for publishing works on Douyin? How does it set the video duration? Mar 27, 2024 pm 06:11 PM

How to set the scheduled time for publishing works on Douyin? How does it set the video duration?

Where is the Douyin tag set? How can it be tagged so that it can be pushed accurately? Where is the Douyin tag set? How can it be tagged so that it can be pushed accurately? Mar 27, 2024 am 11:01 AM

Where is the Douyin tag set? How can it be tagged so that it can be pushed accurately?

Four recommended AI-assisted programming tools Four recommended AI-assisted programming tools Apr 22, 2024 pm 05:34 PM

Four recommended AI-assisted programming tools

Which AI programmer is the best? Explore the potential of Devin, Tongyi Lingma and SWE-agent Which AI programmer is the best? Explore the potential of Devin, Tongyi Lingma and SWE-agent Apr 07, 2024 am 09:10 AM

Which AI programmer is the best? Explore the potential of Devin, Tongyi Lingma and SWE-agent

Do Not Disturb Mode Not Working in iPhone: Fix Do Not Disturb Mode Not Working in iPhone: Fix Apr 24, 2024 pm 04:50 PM

Do Not Disturb Mode Not Working in iPhone: Fix

Learn how to develop mobile applications using Go language Learn how to develop mobile applications using Go language Mar 28, 2024 pm 10:00 PM

Learn how to develop mobile applications using Go language

How to set the watermark in the middle on Weibo_How to set the watermark in the middle on Weibo How to set the watermark in the middle on Weibo_How to set the watermark in the middle on Weibo Mar 29, 2024 pm 03:31 PM

How to set the watermark in the middle on Weibo_How to set the watermark in the middle on Weibo

Where to set Douyin recommendations and selections Where to set Douyin recommendations and selections Mar 27, 2024 pm 05:06 PM

Where to set Douyin recommendations and selections

See all articles