在Linux下用OpenJDK运行Eclipse有什么问题吗? [英] Are there any issues what so ever with running Eclipse with OpenJDK under Linux?

查看:120
本文介绍了在Linux下用OpenJDK运行Eclipse有什么问题吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

注意:这个问题来自2014年。截至2019年,情况有所不同。 OpenJDK是所有各种发行版的基础,并且所有发行版的行为都应相同。

NOTE: This question is from 2014. As of 2019 the situation is different. OpenJDK is underlying all the various distributions, and should behave the same for all.

使用以下方法修复Java问题的标准方法像Ubuntu这样的Linux发行版都说使用Sun JDK代替OpenJDK。出于几个原因,我只想将Java随Ubuntu一起使用,而不必从合作伙伴存储库中安装和下载或下载tarball。

The standard cure for fixing Java problems with Linux distributions like Ubuntu is to say "Use the Sun JDK instead of OpenJDK". For several reasons I'd like to just use the Java shipping with Ubuntu instead of having to install and download from partner repositories or download tarballs.

我在Eclipse中玩过一些游戏在Ubuntu 11.10下的3.7.1并没有发现任何明显的问题。

I have played some with Eclipse 3.7.1 under Ubuntu 11.10 and not found any glaring showstoppers.

问题是:在默认安装(下,是否有任何内容无法正常工作?编辑:OpenJDK)完全是Ubuntu上的Java,还是我应该注意的事情?

Question is: Is there anything not working correctly with the default installation of ( OpenJDK) Java on Ubuntu at all, or is there something I should look out for?

推荐答案

在Ubuntu 11.10上使用openjdk6的各种插件(Android更新)存在很多问题。 Sun JRE只是解决了问题。

I've had quite a lot of problems with various plugins (Android Update) using the openjdk6 on Ubuntu 11.10. Sun JRE 'just fixed' the problems.

我不能只更新到Java 7,因为我正在使用尚未支持Java 7编译的android open source(AOSP)。它仅在某种程度上支持使用openjdk6进行构建。

I can't just update to java 7 because I'm working with android open source (AOSP) which does not support compilation with java 7 yet. It only somewhat supports building with openjdk6.

有时候出血的边缘只是出血。现在,我将继续使用Sun JDK6。它是参考实施,似乎很有效。这就是我要的。这些对我来说是工具,这里的主要目的不是在使用工具之前调试我的工具。

Sometimes the bleeding edge is just bleeding. For now I'm staying with Sun JDK 6. Its the reference implementation and appears to 'just work'. Which is what I'm going for. These are tools for me, my primary purpose here is not to debug my tools before use.

OpenJDK专家的99.9%的荣誉。一旦其他人赶上了他们,生活将会很棒。

Kudos for the OpenJDK folks for being 99.9% there. Once everyone else catches up with them life will be great.

哦,Oracle可以为导致许多此类问题的许可证变更而努力。拉里不需要另一艘船。

Oh and Oracle can stuff-it for the license change that caused many of these problems. Larry does not need another boat.

-JZ

这篇关于在Linux下用OpenJDK运行Eclipse有什么问题吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆