Unreachable code in eclipse

The first message, Exception in thread “main” java.lang.Error: Unresolved compilation problem:means your code does not compile. You need to identify the error and fix it. Modern IDEs e.g. Eclipse, Netbeans, etc flag compile errors. They can help you to quickly identify the source. The second error: means that the code at line 24 will never be … Read more

Fatal error compiling: tools.jar not found:

Goto Windows -> Preferences Java -> Installed JREs –> Execution Environment JavaSE1.x -> JDE 1.x If you don’t have the JDK in the Installed JRE, then Select the Installed JRE and Add the JDK installed path Let’s try to configure your run configurations to clean install Click on the small black arrow and then Run Configurations After, you just put clean install in your Maven goal, like this : And … Read more

The import javafx cannot be resolved

According to the packages list in Ubuntu Vivid there is a package named openjfx. This should be a candidate for what you’re looking for: JavaFX/OpenJFX 8 – Rich client application platform for Java You can install it via: It provides the following JAR files to the OpenJDK installation on Ubuntu systems: Hope this helps.

Installing WindowBuilder on Eclipse Neon

Starting today, there is a more official build for WindowBuilder on Neon: http://download.eclipse.org/windowbuilder/WB/integration/4.6/ . You can monitor progress of the re-introduction of WindowBuilder into Neon.1 at https://bugs.eclipse.org/bugs/show_bug.cgi?id=498276 .

Corrupt jar file

This will happen when you doubleclick a JAR file in Windows explorer, but the JAR is by itself actually not an executable JAR. A real executable JAR should have at least a class with a main() method and have it referenced in MANIFEST.MF. In Eclispe, you need to export the project as Runnable JAR file instead of as JAR file to get a real … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)