Category Archives: eclipse

How to Enable YAML Editor in Eclipse?


Below are steps to Enable YAML/YML editor on eclipse IDE.

  • Open Eclipse IDE
  • Go to Help menu -> Eclipse Marketplace.
  • Search for term “YAML”
  • You will get lots of option select “YAML Editor” and click on install as in below screen.
YAML Editor in Eclipse
Enable YAML/YML Editor on Eclipse
  • Click check box corresponding to “Accept Terms and Conditions”.
  • Click on Apply button and restart eclipse.

More

To know more about YAML Syntax, Configuration with Java and other supporting language, frameworks and tools, Sample configuration files and JSON and YAML conversion follow below YAML Tutorials and YAML related exceptions follow YAML Issues.

 

Advertisements

Eclipse : How to set java path of JDK/JRE?


To set path of JDK for your project in eclipse follow below steps:

  • Right click on your project -> select properties.
  • Click in Library tab
  • To remove or update JRE/JDK remove existing from list as below.

 

Eclipse ClassPath Setting 1
Eclipse : How to set JDK/JRE Path

 

  • Click on add Library and select option as “JRE System Library” and click on Next button.

 

Eclipse ClassPath Setting 2
Eclipse : How to set JDK/JRE Path

 

  • If you need to use existing JRE/JDK you can select from installed JRE or if need to add new one click on Add button.
  • You will get popup of JRE definition. click on Directory option and select JAVA (JRE/JDK) version home directory as in below screen shot
  • Click on Finish button.

 

Eclipse ClassPath Setting 3
Eclipse : How to set JDK/JRE Path

 

  • Select one Installed JRE which want to use on your project.
  • Click on “Apply and Close” button.

 

Eclipse ClassPath Setting 4
Eclipse : How to set JDK/JRE Path

 

  • Finally selected JRE/JDK added to your project.
  • Click on “Apply and Close” button.

 

Eclipse ClassPath Setting 5
Eclipse : How to set JDK/JRE Path