Lombok problems with Eclipse Oxygen

My env: java version “1.8.0_144” Eclipse: Eclipse Java EE IDE for Web Developers. Version: Oxygen Release (4.7.0) Build id: 20170620-1800 Exit Eclipse(if it is open) and downloaded jar from https://projectlombok.org/download execute command: java -jar lombok.jar This command will open window as shown here https://projectlombok.org/setup/eclipse, install and quit the installer. Add jar to build path/add it … Read more

How to use Coffee-Bytes code folding

Firstly, you’ll need to configure Coffee Bytes Java folding as the folding scheme to use, and then enable User Defined Regions, as shown below. Secondly, you’ll need to configure the start and end identifiers that will be used to identify the beginning and termination of regions in your code. In this case, I’ve chosen {{ … Read more

Attach the Java Source Code

Normally, if you have installed the JDK6u14, eclipse should detect it and declare it automatically in its “installed JRE” list. If not, you can add that JDK through “Windows/Preferences”: Java > Installed JREs: Just point to the root directory of your JDK installation: it should include the sources of the JDK (src.zip), automatically detected and … Read more

“Auth Failed” error with EGit and GitHub

My answer may be outdated but hopefully it can be useful for someone. In your Eclipse go to Window > Preferences > General > Network Connections > SSH2 (or just type “SSH2” in preferences window filter box). In “Key Management” tab press “Generate RSA Key…” button. Optionally you can add comment (usually e-mail address) and … Read more

How to enable C++11 in Eclipse Juno/Kepler/Luna CDT?

There’s two things you have to do, first you need to setup your compiler, then you need to setup CDT’s language processor. Since you didn’t mention which compiler you’re using, I’ll assume it’s GCC but the steps will be similar for other compilers. (Note that you need a compiler that supports C++11, of course.) Setting … Read more