eclipse 铬的日食?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11418183/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:10:27  来源:igfitidea点击:

eclipse for chrome?

eclipsegoogle-chromeidedeveloper-toolschromebook

提问by user1305454

I use eclipse IDE for developing my GWT and android apps. I would like to transition to a chromebook for my main development computer, but I can't figure out how I would get eclipse "installed". There is no chrome app version of eclipse, at least not that I can find. I do see that there are other IDEs in the chrome store, but I don't think they would have all the nifty helper plugins that eclipse has for google developers. Anybody know if a chrome version of eclipse is coming? Do others share my desire to develop on a chrome book?

我使用 Eclipse IDE 来开发我的 GWT 和 android 应用程序。我想为我的主要开发计算机过渡到 chromebook,但我不知道如何“安装”eclipse。Eclipse 没有 chrome 应用程序版本,至少我找不到。我确实看到 chrome 商店中还有其他 IDE,但我认为它们不会拥有 eclipse 为谷歌开发人员提供的所有漂亮的帮助插件。有人知道 eclipse 的 chrome 版本是否即将推出吗?其他人是否和我一样希望在 chrome book 上进行开发?

采纳答案by Konstantin Komissarchik

Eclipse is not coming for Chrome OS. You need a JVM to run it and one of the compatible desktops for the UI widgets. So you would have to escape from Chrome OS desktop into base Linux and somehow launch a regular Linux desktop (like GTK) to have any hope of running Eclipse. Also, a typical chromebook is far too underpowered to run a full IDE.

Eclipse 不适用于 Chrome 操作系统。您需要一个 JVM 来运行它以及 UI 小部件的兼容桌面之一。因此,您必须从 Chrome OS 桌面转移到基本 Linux 并以某种方式启动常规 Linux 桌面(如 GTK)才能有任何运行 Eclipse 的希望。此外,典型的 chromebook 动力不足,无法运行完整的 IDE。

Here are some options to consider:

以下是一些需要考虑的选项:

  1. Project Orion- A web based IDE from many of the same people who develop Eclipse. One of the goals is to enable Eclipse-like capabilities for platforms like iOS, Android, Chrome OS, etc. It has quite a few base IDE capabilities already, but not a lot of plugins just yet. Probably not going to see something as sophisticated as ADT for a while if ever. Google would have to implement Android emulators in JavaScript. Not an easy task.
  2. Run Eclipse on another machine and use a remote desktop from your chromebook.
  3. Run Eclipse Che on another machine or cloud server and use Chrome
  1. Project Orion- 来自许多开发 Eclipse 的人员的基于 Web 的 IDE。目标之一是为 iOS、Android、Chrome OS 等平台启用类似 Eclipse 的功能。它已经有相当多的基本 IDE 功能,但还没有很多插件。如果有的话,可能暂时不会看到像 ADT 这样复杂的东西。谷歌必须在 JavaScript 中实现 Android 模拟器。不是一件容易的事。
  2. 在另一台机器上运行 Eclipse 并使用 chromebook 中的远程桌面。
  3. 在另一台机器或云服务器上运行 Eclipse Che 并使用 Chrome

回答by Roberto Andrade

The most straightforward and transparent way I was able to do so was to do a combination of things (some of which was mentioned in previous answers):

我能够这样做的最直接和透明的方式是做一些事情的组合(其中一些在之前的答案中提到过):

  • install crouton(alongside an ubuntu chroot) - this is not dual booting but running Ubuntu side by side with Chrome OS just alternating between both windowing systems.

  • install crouton chrome extension & xiwi- this enables running the X11 windows in the ubuntu chroot as native Chrome OS windows that can be easily alternated into.

  • install a JDK inside the ubuntu chroot.

  • download, mount and execute eclipse-installer.

  • once the eclipse distribution of choice is installed, for ease I symlinked the main eclipse executable to /usr/local/bin/eclipseand am able to run it from Chrome OS via crouton/xiwi: sudo startxiwi eclipse

  • 安装crouton(与 ubuntu chroot 一起) - 这不是双引导,而是与 Chrome OS 并排运行 Ubuntu,只是在两个窗口系统之间交替。

  • 安装crouton chrome 扩展程序和 xiwi- 这使得在 ubuntu chroot 中运行 X11 窗口作为本机 Chrome OS 窗口,可以轻松切换到。

  • 在 ubuntu chroot 中安装一个 JDK。

  • 下载、挂载并执行eclipse-installer

  • 一旦安装了选择的 eclipse 发行版,为了方便起见,我将主 eclipse 可执行文件符号链接到/usr/local/bin/eclipse并能够通过crouton/从 Chrome OS 运行它xiwisudo startxiwi eclipse

Here's a screenshot of what it looks like when done:

这是完成后的屏幕截图:

eclipse on chromeos via crouton and xiwi

通过 crouton 和 xiwi 在 chromeos 上进行日食

回答by minghua

Do others share my desire to develop on a chrome book?

其他人是否和我一样希望在 chrome book 上进行开发?

The solution is to load a normal linux distribution and run IDE from there. I'm using a netbook with intel n260, 1G ram, 1.6G Hz. NetBeans runs quite well. A chromebook runs more than twice faster, I'm sure it will be good enough.

解决方案是加载一个普通的 linux 发行版并从那里运行 IDE。我正在使用带有 intel n260、1G 内存、1.6G Hz 的上网本。NetBeans 运行良好。chromebook 的运行速度要快两倍以上,我相信它已经足够好了。

As to how to load a linux, there is the Ubuntu on Cr-48 pagethat explains how to do it in depth. And also this very user friendly blog on arstechnica, or this blog on liliputting. They both point you eventually to the ChrUbuntu, that is a hand-re-packaged ubuntu with some scripts to ease your work.

至于如何加载 linux,Cr-48 页面上Ubuntu详细解释了如何加载。还有这个关于arstechnica 的非常用户友好的博客,或者这个关于liliputting 的博客。他们最终都将您指向ChrUbuntu,这是一个手工重新打包的 ubuntu ,带有一些脚本来简化您的工作。

回答by viaggiochz

You can install ubuntu via crouton (for more info: https://www.youtube.com/watch?v=d_MuVwJq_XQ&list=FLFel7rdB1nWQSjsJCaepEOg&index=1) and then you can install eclipse I'm not sure if you can install the ADT from the android sdk website but you can install the plugins from the eclipse website, third party developers, or if you really want to download it from the android sdk website you can probably get it to work with a little efort. :) Enjoy

您可以通过 crouton 安装 ubuntu(有关更多信息:https: //www.youtube.com/watch?v=d_MuVwJq_XQ&list=FLFel7rdB1nWQSjsJCaepEOg&index =1)然后您可以安装 eclipse 我不确定您是否可以从android sdk 网站,但您可以从 eclipse 网站、第三方开发人员安装插件,或者如果您真的想从 android sdk 网站下载它,您可能会稍微努力一下。:) 享受

回答by ngreen

Eclipse requires a JVM (maybe even a full-blown JDK), so there's no way to make it into a Chrome app. You could enable developer mode and try to install a Linux JDK since Chrome seems to be running Linux under the hood.

Eclipse 需要一个 JVM(甚至可能是一个成熟的 JDK),所以没有办法将它变成 Chrome 应用程序。您可以启用开发人员模式并尝试安装 Linux JDK,因为 Chrome 似乎在后台运行 Linux。

回答by Pranav A.

Yes! I share your desire to program on a Chromebook! While I am still a high-schooler, I am an amateur Java and Python programmer. My school provides with a class set of about 30 Chromebooks per classroom, and I didn't know how to run my code on them. I had Eclipse on my Windows desktop at home.

是的!我同意您在 Chromebook 上编程的愿望!虽然我还是一名高中生,但我是一名业余 Java 和 Python 程序员。我的学校为每个教室提供了大约 30 台 Chromebook 的课程集,我不知道如何在它们上运行我的代码。我在家里的 Windows 桌面上安装了 Eclipse。

When I looked around online, I found something called codenvy.io. It is basically an Eclipse Che IDE that runs online. It uses Docker images to start up a workspace, runs all in the cloud, and a free account has 3 GB of RAM.

当我在网上环顾四周时,我发现了一个叫做codenvy.io 的东西。它基本上是一个在线运行的 Eclipse Che IDE。它使用 Docker 镜像来启动工作区,全部在云端运行,免费帐户拥有 3 GB 内存。

It suited my needs, and I loved it! You should check it out.

它适合我的需求,我喜欢它!你应该检查一下。