Download URL 汇总

本文提供了Java 1.6 API文档的下载链接,包括ZIP和CHM格式,以及Eclipse、Web Tools Platform (WTP)、Apache Log4j、MySQL Connector、Struts和Groovy的相关下载地址。详细介绍了Groovy Eclipse插件的安装步骤,包括添加Classpath Variables、禁用Class auto generate和配置GSP与JSP关联。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Download URL 汇总
Java:
JDK_API_1_6_zh_CN.CHM
1.6API文档(中文)的下载地址:

ZIP格式:[url]http://download.java.net/jdk/jdk-api-localizations/jdk-api-zh-cn/publish/1.6.0/html_zh_CN.zip[/url]

CHM格式:[url]http://download.java.net/jdk/jdk-api-localizations/jdk-api-zh-cn/publish/1.6.0/chm/JDK_API_1_6_zh_CN.CHM[/url]

在线文档:
[url]http://www.gznc.edu.cn/yxsz/jjglxy/book/Java_api/index.html[/url]


Eclipse:

1:Eclipse
[url]http://www.eclipse.org/downloads/[/url]

2:Web Tools Platform (WTP)
[url]http://download.eclipse.org/webtools/repository/helios[/url]

3:
Apache Log4j 1.2.16 API :
[url]http://logging.apache.org/log4j/1.2/apidocs/overview-summary.html[/url]

4:
MySql (mysql-connector-java):
[url]http://www.mysql.com/downloads/connector/j/[/url]


5:struts
[url]http://struts.apache.org/download.cgi#struts210[/url]

6:Struts2 json plug jar
[url]http://code.google.com/p/jsonplugin/downloads/list[/url]


5:
groovy-docs-1.7.10.zip
[url]http://dist.groovy.codehaus.org/distributions/groovy-docs-1.7.10.zip[/url]

安装Groovy Eclipse插件

找到插件的下载地址(一般找官方的):Eg:http://dist.codehaus.org/groovy/distributions/update/GroovyEclipse.zip
像一般的Eclipse插件安装一样,可以选择用Software Update安装或用link的方式进行安装,而且网上资料也很多,这里就不详细讲了。

[Eclipse插件的载入与安装:http://hi.baidu.com/dianjinglong/blog/item/2d7ce422305deda74623e8e2.html]


4:Eclipse Groovy plug
[url]http://dist.codehaus.org/groovy/distributions/updateDev/[/url]
下面主要介绍 Groovy 插件的安装方法:
首先启动 Eclipse,点击 Help > Software Updates > Find and Install…:
然后在新窗口中点击 New Remote Site...,并在弹出窗口中输入:
Name: Groovy
URL: http://dist.codehaus.org/groovy/distributions/updateDev/

(更新和安装)
点击 Finish,接下来,Eclipse 会去搜索 Groovy 插件,并完成下载和安装。

(添加 Classpath Variables)
Groovy 插件安装成功后,将 groovy项目导入到 Eclipse 中。完成后,添加一个 Classpath Variables(Windows > Preferences > Java > Build Path > Classpath Variables)
new:
GRAILS_HOME:C:/grails-1.3.7

(禁用 Class auto generate)
然后还需要禁用 Groovy 插件的 Class auto generate 的功能,在 Contact 上 右键 > Properties > Groovy Project properties > 选择 Disable Groovy Compiler Generating class Files > 点击 OK

(将 gsp 关联到 JSP Editor)
接下来,配置使 Web tools 能够编辑 GSP。打开 Windows > Preference > General > Editors > File Associations,添加 *.gsp,并关联到 JSP Editor 即可

[JSP Editor,Web Page Editor,CSS JSP Editor,Text Editor]


(为 JSP 类型文件添加扩展名 *.gsp)
然后设置 Content Types:Windows > Preference > General > Content Types, 为 JSP 类型文件添加扩展名 *.gsp

至此,开发环境配置完毕。Grails 已经为 Eclipse 创建了描述运行的文件,点击 Run > Open Run Dialog。

可以在 Java Application 下看到名为 Grails的运行项目。选择并点击 Run 按扭。但 Grails 提供的 run 脚本目前还存在 bug,运行时可能会抛出如下异常:

java.lang.IllegalArgumentException: Variable $tools.jar in groovy-starter.conf
references a non-existent System property!
Try passing the property to the VM using -Dtools.jar=myValue


因此最后还需要修改 Contact 的运行参数,加入:

-Dtools.jar=%JAVA_HOME%\lib\tools.jar
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值