分类: Eclipse Coding

  • Eclipse JDT Language Server

    https://github.com/eclipse/eclipse.jdt.ls

    The Eclipse JDT Language Server is a Java language specific implementation of the Language Server Protocol and can be used with any editor that supports the protocol, to offer good support for the Java Language. The server is based on:

    • Eclipse LSP4J, the Java binding for the Language Server Protocol,
    • Eclipse JDT, which provides Java support (code completion, references, diagnostics…),
    • M2Eclipse, which provides Maven support,
    • Buildship, which provides Gradle support.

    Features

    • As you type reporting of parsing and compilation errors
    • Code completion
    • Javadoc hovers
    • Code actions / refactoring
    • Code outline
    • Code navigation
    • Code lens (references/implementations)
    • Highlights
    • Organize imports
    • Type search
    • Code formatting (on-type/selection/file)
    • Maven pom.xml project support
    • Java 9/10/11 support
    • Limited Gradle support (Android projects are not supported)
    • Annotation processing support (automatic for Maven projects)
  • Eclipse OpenJ9

    https://github.com/eclipse/openj9

    Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that’s optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.

    What is Eclipse OpenJ9?

    Eclipse OpenJ9 is an independent implementation of a Java Virtual Machine. “Independent implementation” means it was built using the Java Virtual Machine specification without using any code from any other Java Virtual Machine.

    The OpenJ9 JVM combines with the Java Class libraries from OpenJDK to create a complete JDK tuned for footprint, performance, and reliability that is well suited for cloud deployments.

    The original source contribution to OpenJ9 came from the IBM “J9” JVM which has been used in production by thousands of Java applications for the last two decades. In September 2017, IBM completed open sourcing the J9 JVM as “Eclipse OpenJ9” at the Eclipse Foundation. Significant parts of J9 are also open source at the Eclipse OMR project. OpenJ9 has a permissive license (Apache License 2.0 or Eclipse Public License 2.0 with a secondary compatibility license for the OpenJDK project’s GPLv2 license) that is designed to allow OpenJDK to be built with the OpenJ9 JVM. Please see our LICENSE file for more details.

    Eclipse OpenJ9 is a source code project that can be built alongside Java class libraries. Cross platform nightly and release binaries and docker containers for OpenJDK with OpenJ9, targeting several JDK levels (like JDK8, JDK10, etc.) are built by the AdoptOpenJDK organization and can be downloaded from the AdoptOpenJDK download site or on DockerHub.

    What is the goal of the project?

    The long term goal of the Eclipse OpenJ9 project is to foster an open ecosystem of JVM developers that can collaborate and innovate with designers and developers of hardware platforms, operating systems, tools, and frameworks.

    The project welcomes collaboration, embraces fresh innovation, and extends an opportunity to influence the development of OpenJ9 for the next generation of Java applications.

    The Java community has benefited over its history from having multiple implementations of the JVM specification competing to provide the best runtime for your application. Whether adding compressed references, new Cloud features, AOT (ahead of time compilation), or straight up faster performance and lower memory use, the ecosystem has improved through that competition. Eclipse OpenJ9 aims to continue to spur innovation in the runtimes space.

  • Eclipse SUMO – Simulation of Urban MObility

    Eclipse SUMO is an open source, highly portable, microscopic and continuous road traffic simulation package designed to handle large road networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.

    https://github.com/eclipse/sumo

  • The official repository of the Eclipse Codewind project

    The official repository of the Eclipse Codewind project https://codewind.dev

    Codewind

    Build high-quality cloud-native applications for Kubernetes, regardless of your IDE or language.

    Codewind enables you to create applications from a template or sample and includes support for launching, updating, testing, and debugging in Docker containers on the desktop. Codewind also supports these features on Kubernetes. You can use Codewind to move existing applications to Docker and Kuberenetes. Codewind provides validation to ensure that applications follow best practices.

  • 求问Eclipse怎么全局搜索注释

    求问Eclipse怎么全局搜索注释?

    Eclipse是否有全局搜索注释中内容的功能?
    Ctrl + H也就是Search方法好像只能搜代码,也就是方法构造器啥的,搜不到注释里的内容
    Eclipse SDK version: Oxygen(4.7)

  • 请问Eclipse怎么换主题啊

    请问Eclipse怎么换主题啊

    比较新的版本想换就在菜单preferences,想用其他主题,可以去下载插件。

  • eclipse连接DFS失败

    eclipse连接DFS失败,求大神指导

    错误信息:
    An internal error occurred during: “Connecting to DFS gillian”.
    org/apache/htrace/core/Tracer$Builder
    求解

  • 我在eclipse里面写了一个程序用UDP协议进行通信,有两个类(Send Receive)在本机上用InetAdress可以互发信息

     

    老哥,我在eclipse里面写了一个程序用UDP协议进行通信,有两个类(Send Receive)在本机上用InetAdress可以互发信息,但是我把Receive类移到另一台电脑后,就不行(可以运行,但收不到信息),具体情况是我原来用的InetAdress. getByName(“本计算机名”),后来改成InetAdress. getByName(“另一台计算机的ip”),他就不行了,这是为啥?

  • 使用Eclipse的前置条件

    使用Eclipse的前置条件

    需要JDK。。。既然是科普贴,说详细一下吧。
    第一步,下载你需要的jdk版本(至于Java,JDK,JRE的关系和区别。。。有机会再说吧),这里我下完jdk8,放到上面的百度网盘里面了。
    第二步,双击安装jdk。(这里需要说一点,在安装完jdk之后,会继续让你安装jre,其实你可以选择不安装的。)
    第三步,配置环境变量。

    点击 开始 -》右键计算机 -》 属性

    点击 高级系统设置

    点击 环境变量

    点击 下面的 新建

    在变量名里输入 JAVA_HOME
    在变量值里输入 你自己的jdk目录(不要照搬我的),注意要填根目录
    然后点击 确定

    接着在里面找到 Path,点 编辑

    你里面的值和我肯定不会是一模一样的,但是没有关系,直接拖到最后,在结尾追加 ;%JAVA_HOME%\bin
    点击 确定,然后一直点 确定,把打开的窗口都确定掉。
    然后验证是否配置成功了。
    打开 命令提示行,方法有很多。
    在里面分别输入java和javac,看有没有输出结果有没有下面这堆:
    java:

    javac:

    如果出现,那jdk就是配置成功了。
    jdk配置好了,Eclipse启动应该就没问题了。

  • 为新手科普各种eclipse及开发工具的知识

    为新手科普各种eclipse及开发工具的知识

    Eclipse的版本
    新人一上来,在eclipse的版本上肯定会懵,这里从几个方面来说:
    eclipse自身大的版本主要有以下(截图自官网):
    不算第一个(Other builds)和最后一个(Older Versions)。
    但需要加上最新的Eclipse 2019-06

    主要的版本有这些,这些是按照时间顺序发布的。但是对于新人来说,直接去下载最新的,也就是Eclipse 2019-06,就可以。

    32位和64位
    这个取决于你的电脑系统本身版本是什么。由于时代的发展,32位系统已经不断的被淘汰掉。不过我看到贴吧里面还有人在问32位的Eclipse,在官网找了一下,官方最近几个版本已经不在支持32位了。最后一个是32位的Eclipse版本是2018-09。

    Eclipse的版本命名
    最新的Eclipse都是以年份加月份命名的,如2019-06。
    不过在2018-09之前,都是以英文单词命名的。感兴趣的可以查下这些英文单词都是什么意思,包括Eclipse这个单词是什么意思。

    jee和java
    大版本说完了,可以看下eclipse的细分版本。
    这里说的java和jee是指的Eclipse命名中的。具体区别看截图:

    第一个是jee,第二个java
    jee:
    包括Enterprise Java(企业级Java),Web applications(Web应用,可以简单理解成网页程序,注意是对于新手而言简单理解),Java IDE(Java集成开发环境),JPA,JSF,Mylyn,Maven,Git和更多。
    Java:
    包括Java IDE(Java集成开发环境),Git,XML Editor(XML编辑器),Mylyn,Maven,Gradle。
    简单的说,jee版本比java版本多了一些企业级和Web需要的东西。如果你开发需要开发Web相关的,用这个,否则java的可以。
    至于里面提到的别的,有些是你需要知道的,有些知不知道无所谓。后面的有机会会说

    Eclipse Installer
    不要用这个!不要用这个!不要用这个!不要用这个!不要用这个!不要用这个!不要用这个!
    由于网络环境和大家对Eclipse的熟悉程度,不要用这个!
    直接下载完整的,下完就能用的。
    如果你需要特定的版本,但不知道怎么下,告诉我,我下完放到百度网盘里面。