score:1
here are a couple of things to consider:
do you have a valid jdk installed? you can check
c:\program files\java
orc:\program files(x86)\java\
for a jdk folder.in eclipse, right click the java project, >
build path
>configure build path...
this should open up ajava build path
window.in here, click the
libraries
tab. if there are nowjre system library
entries, clickadd library...
>jre system library
>next
and you can either pickworkspace default jre
which should be something likejre1.8.0_25
or, you can selectexecution environment
. if you select the latter, click theenvironments...
button, and select thejavase-*
version that you would like.
Source: stackoverflow.com
Related Query
- Run two Java programs from Eclipse at once?
- Java Programs won't run
- How to run Java programs from the terminal?
- Runnable jar file generated with java eclipse wont run when double clicked
- How to run Java programs from Algorithms textbook by Robert Sedgewick?
- can't run java programs in eclipse on mac
- is there a way to run the java programs that are developed in netbeans in eclipse?
- Simplifying entry of classpath for java programs created in eclipse, when run from cli?
- How to run & debug multiple java programs with one Ant buildfile on seperate consoles in Eclipse
- How do portable Java programs run the JVM from a subdirectory next to the binary?
- How to simultaneously run all JUnit tests for a Eclipse Java project without Maven?
- How can I specify the default JVM arguments for programs I run from eclipse?
- How to run Eclipse with different Java version?
- Java - Build and run eclipse project from command line
- Error :- java runtime environment JRE or java development kit must be available in order to run eclipse
- How to find time taken to run a Java program?
- How to know the command line used by Eclipse to run the java program?
- How to run single Java file from a project in Eclipse?
- How to run Java Card Connected Edition Web samples on Eclipse?
- Run Ant on Eclipse Mars with Java 1.6
- Want an eclipse java project to run ant build files automatically
- Setting memory of Java programs that runs from Eclipse
- Run as java application option disabled in eclipse
- Run multiple java main methods in eclipse
- How do I run a single Java file having main() in Eclipse, without creating an entire Java project?
- Run Java to Kotlin converter from the command line?
- How to run a Java project in command line
- Java JFrame Window not appearing when run from Eclipse
- IntelliJ run single Java file
- How do I programmatically run all the JUnit tests in my Java application?
More Query from same tag
- Adding a second project to a Django project
- Windows 7 64, Eclipse 64, JDK 64 and specified DSN contains an architecture mismatch
- add p2 update to e(fx)clipse application
- How can I look at the current environmental variables that eclipse IDE is using?
- exception (sigar exception) throwing causing error after import
- Files and Multithreading
- How to get multiple target android level in eclipse IDE?
- Eclipse freemarker template highliting
- Mylyn connector for custom webservice
- Beginner Android: Prompt to Leave
- Eclipse PDT plugin gives me trouble
- filename is displayed in tableviewer but when selected particular column the file location should be retrieved for processing the file in eclipse e4?
- Eclipse + PDT performance tips?
- Unable to deploy my servlet from a Maven Project on Tomcat
- Why do people gitignore .classpath and .project?
- Unable to "Run on Server" a webapp from Eclipse
- Craftbukkit Player Count Message Plugin Coding Error
- eclipse can not import some class automatically
- Maven-Dependency for Eclipse Birt 4.3.2
- Powershell outputting malformed filenames
- Sdk Manager not opening from eclipse
- What is an easy Mylyn task repository to use for a small (~40 devs) project?
- android application with warning what are the drawbacks of warning
- java.lang.RuntimeException: Unable to start activity ComponentInfo cannot be cast to android.widget.ZoomControls
- How to get attributes from an Object type in Java
- Receive Matlab/simulink UDP blocks in other software
- Maven dependencies missing in Eclipse project
- The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
- Android:: Version4.4 and below versions App crashing with VerifyError
- What steps do I need to take to convert my Eclipse Android project into a Gradle project?