URN Logo
UNIX Resources » Linux » China Linux Forum » Java&jsp技术 » 第4页 » 请教:CLASSPATH配置和EXT目录配置
announcement 声明: 本页内容为中国Linux论坛的内容镜像,文章的版权以及其他所有的相关权利属于中国Linux论坛和相应文章的作者,如果转载,请注明文章来源及相关版权信息。
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
请教:CLASSPATH配置和EXT目录配置
请教:CLASSPATH配置和EXT目录配置 - alex_bird [2004-10-02 00:28 | 744 byte(s)]
 
 
Subject: 请教:CLASSPATH配置和EXT目录配置
Author: alex_bird    Posted: 2004-10-02 00:28    Length: 744 byte(s)
[Original] [Print] [Top]
这个问题问得我一点面子也没有,因为好歹也是2000年就看JAVA,曾经摸得烂熟,可是现在...

RH9下,RPM装好JDK1.5,发现什么也没配,确认一下,要配几个变量?

CLASSPATH 应该是只有JRE/LIB/RT.JAR吧,我不喜欢太长,至少曾经不...
JAVA_HOME 还是JAVAHOME? 那就是/usr/java/jdk-1.5xxxx/喽
PATH 加上/usr/java/jdkxxxx/bin,要不要在加上JRE的,以前WIN下时我从不加JRE,因为它在注册表里有记录

还有吗? 请补充,我主要用ECLIPSE开发. 虽然我给ECLIPSE目录下加了JRE的联接后,什么也没配它照样跑得很好...

另外,对CLASSPATH和EXT目录的作用,还不太清楚,应该是所有LIB/EXT目录下的JAR,都能自动被编译器搜索,但在WIN下是,JIKES老报警,因为EXT下有些非JAR文件,EXT目录应该如何利用好呢? 我不喜欢CLASSPATH太大,这样不好.
----

--
每天迈进一小步
梦想总能实现
[Original] [Print] [Top]
Subject: Re: 请教:CLASSPATH配置和EXT目录配置
Author: DanceDanceDance    Posted: 2004-10-08 16:53    Length: 237 byte(s)
[Original] [Print] [Top]
1. it's JAVA_HOME;
2. If you only use jdk, you can only set CLASSPATH=$JAVA_HOME/lib
But if you use third-part APIs, you should add every path to the .jar file to your $CLASSPATH.
3. You do not need to add JRE
----
It's better to burn out than to fade away...
[Original] [Print] [Top]
« Previous thread
java的一些看法JTEK
Java&jsp技术
4
Next thread »
sun jdk 5现在业界是什么看法?
     

Copyright © 2018 UNIX Resources Network, All Rights Reserved.    About URN | Privacy & Legal | Help | Contact us