Eclipse: Java was started but returned error code=13

This error occurs because your Eclipse version is 64-bit. You should download and install 64-bit JRE and add the path to it in eclipse.ini. For example: Note: The -vm parameter should be just before -vmargs and the path should be on a separate line. It should be the full path to the javaw.exe file. Do not enclose the path in double quotes (“). … Read more

what does Dead Code mean under Eclipse IDE Problems Section

In Eclipse, “dead code” is code that will never be executed. Usually it’s in a conditional branch that logically will never be entered. A trivial example would be the following: It’s not an error, because it’s still valid java, but it’s a useful warning, especially if the logical conditions are complex, and where it may … Read more

what does Dead Code mean under Eclipse IDE Problems Section

In Eclipse, “dead code” is code that will never be executed. Usually it’s in a conditional branch that logically will never be entered. A trivial example would be the following: It’s not an error, because it’s still valid java, but it’s a useful warning, especially if the logical conditions are complex, and where it may … Read more

JVM Crash – “EXCEPTION_ACCESS_VIOLATION”

The crash happens inside DirectX library: d3d9.dll. Try the following options: Update / reinstall graphics driver. Switch off graphics card utilities (I’ve noticed RivaTuner in the list of loaded libraries). Run Java with -Dsun.java2d.d3d=false JVM option or set J2D_D3D=false environment variable. This would definitely help, though Java will not make use of Direct3D acceleration.

Control an Arduino with Java

You can use the JArduino (Java-Arduino) library, which provides a Java API to control your Arduino using serial port (using a USB cable, or wireless devices behaving as serial ports from a software point of view), UDP (via an ethernet shield). All the code related to communication between Java and Arduino is managed internally by … Read more

Eclipse C++ : “Program “g++” not found in PATH”

Today I have bumped into this problem and solved it in the following way. I pressed “Reset defaults” button everywhere I could find it in Eclipse settings (for example, Preferences/C++/Build/Settings/Discovery). After that the error disappeared and the code compiled successfully.

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