安装weblogic后我的java配置不能用了怎么回事?  (在线等待中.......)

epowerlab 2002-01-30 04:38:54

E:\>javac Hello.java
java.lang.NoClassDefFoundError: java/util/ArrayList
at sun.tools.util.CommandLine.parse(Compiled Code)
at sun.tools.javac.Main.compile(Compiled Code)
at sun.tools.javac.Main.main(Main.java:729)

E:\>

在安装weblogic6.1以前配置没有问题
但是在编译servlet时发现jdk配置出错了
win2kserver
path :c:\bea\jdk131\bin
classpath .;c:\bea\jdk131\lib\tools.jar;c:\bea\jdk131\lib\dt.jar;c:\bea\jdk131\bin



分送完了在其它帖子里加

...全文
88 6 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
epowerlab 2002-02-05
  • 打赏
  • 举报
回复
to:skyyoung(路人甲) yanchang(笨笨) 

下面的帖子拿来分了

http://www.csdn.net/expert/topic/445/445816.shtm
http://www.csdn.net/expert/topic/449/449068.shtm
skyyoung 2002-02-02
  • 打赏
  • 举报
回复
rt.jar 是run time 的库文件。
yanchang 2002-02-01
  • 打赏
  • 举报
回复
重起试试

你的java 环境乱了吧
要不就 重装jdk1.3
skyyoung 2002-02-01
  • 打赏
  • 举报
回复
在\JDK1.3\jre\lib\rt.jar里
epowerlab 2002-02-01
  • 打赏
  • 举报
回复
Microsoft Windows 2000 [Version 5.00.2195]
(C) 版权所有 1985-1998 Microsoft Corp.

C:\>javac
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-O Optimize; may hinder debugging or enlarge class file

-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are us
ed
-classpath <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-target <release> Generate class files for specific VM version


C:\>java
Failed reading value of registry key:
Software\JavaSoft\Java Runtime Environment\CurrentVersion
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.

uninstall后
重装
jdk1.3
weblogic6.1出现上面问题
注册表

epowerlab 2002-02-01
  • 打赏
  • 举报
回复
to:skyyoung(路人甲)

"Ox1000c187"指令引用的"0x00000000"内存.该内存不能为"read".
要终止程序,请单击确定.
要调试程序,请单击取消.

怎么回事?
rt.jar里是些什么?
在没有装weblogic时也没有导入rt.jar包也一切正常



to:yanchang(笨笨) 

可能有点乱
有weblogic自己带的jdk
有jbuilder带的
还有以前自己装上的一个

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧