我是Ubuntu和Java的新手。我该怎么纠正呢?
freestyler@freestyler-HP-ProBook-4420s:~$ sudo apt-get install sun-java6-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.3
我不知怎么搞砸了我的Java安装,现在我明白了:
$ sudo apt-get remove jre1.8.0_66
(Reading database ... 55212 files and directories currently installed.)
Removing jre1.8.0-65 ...
find: `/usr/java/*': No such file or directory
/var/lib/dpkg/info/jre1.8.0-65.postrm: line 586: /usr/sbin/alternatives: No such file or dire
这是我在玩“我的世界”时得到的输出。
Java HotSpot(TM) Server VM warning:
Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Unrecognized VM option 'CMSIncrementalMode'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred.
我一直在跟进另一个问题,但没有成功。
mv: cannot move './jre1.7.0_04' to '/usr/lib/jvm/jre1.7.0': No such file or directory
它是否只安装在32位兼容的/lib目录中?
运行: Linux用户2.6.38-14-通用#58-Ubuntu时间-日期-填充x86_64 GNU/Linux
Xubuntu不包括任何java (耶!),但现在我想玩yED。:(
我正在尝试使用WASV7.0开发人员工具从WSDL生成“自上而下的EJB Web服务”实现。(服务器运行时是7.0,web服务运行时是IBM WS。)在选择了我的EJB和EAR项目并指定了更多选项之后,无论我的选项是什么,我总是会得到以下错误:
Errors occurred during wsimport.
java.lang.NoClassDefFoundError: com/sun/tools/internal/ws/wscompile/WsimportTool
at java.lang.ClassLoader.defineClass1(Native Method)
at java.la
许多指南参考"JVM and Java Settings“页面(在CF Admin中)来操作Adobe ColdFusion中的类路径。(我碰巧在用ACF9。)
我正在运行多服务器ACF9 on Linux (Ubuntu),但是我在任何地方都找不到那个页面。
它在哪里,和/或我如何操作CF类路径?(具体地说,我想为一个特定实例修改它。)
我正在调查Red Hat Linux上的一个Java问题(使用IBM JVM 1.4.2 64位)。我想知道以前是否有人看到过这个错误消息,并且知道是否有解决这个问题的方法?
来源:
import sun.misc.Signal;
import sun.misc.SignalHandler;
public class SignalTest extends Thread
{
private static Signal signal = new Signal("INT");
private static ShutdownHandler handler = new