Using Lombok in Eclipse

Source: Internet
Author: User

Windows environment
    • 1. Download Lombok.jar Package https://projectlombok.org/download.html

    • 2. Run Lombok.jar: Java -jar D:\software\lombok.jar D:\software\lombok.jar This is where Windows Lombok.jar is located

          数秒后将弹出一框,以确认eclipse的安装路径
    • 3. After confirming the installation path of Eclipse, click the Install/update button to complete the installation.

    • 4. After the installation is complete, verify that there is a Lombok.jar package under the Eclipse installation path and that the

          -javaagent:lombok.jar     
      如果上面的答案均为true,那么恭喜你已经安装成功,否则将缺少的部分添加到相应的位置即可 
    • 5. Restart Eclipse or MyEclipse

Ubuntu Environment
基本步骤和上面一样,在第二步
    • 2. Execution java -jar /home/user/software/eclipse/lombok.jar /home/user/software/eclipse/lombok.jar is the directory where my Lombok.jar is located. My eclipse is installed in

      /home/user/software/eclipse/目录下执行完成之后,查看eclipse.ini文件查看:
          -javaagent:/home/user/software/eclipse/lombok.jar

Using Lombok in Eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.