I run java program in Mac environment from the command prompt. When I started working on java using eclipse in windows environment I encountered with an error: unbound classpath container: JRE system library in windows
It is because the JRE library was not added to the project.
Solution:
Step 1: Go to the "New" drop-down menu
Step 2: Chose "Java Project" option
Step 3: A pop-up window will come. In the "JRE" subwindow, select the option "Use an execution environment JRE".
Step 4: If it is not configured, click on the "Configure JREs".
Step 5: Another window will pop up. Show the path of the jre (e.g., C:\Program Files\Java\JDK_3.6.1\jre\)
Step 6: Complete the remaining step of the project creation (Project name, hit the finish button)
Beginners java program using eclipse
Subscribe to:
Post Comments (Atom)
Game engines
Unity engine Unreal engine Godot engine
-
To install pngwrite we need to install to helper library before we install pngwriter. 1. libpng 2. freetype2 We can use fink or macport to i...
-
Parsing and displaying dates and times is often complicated because of formatting and locale issues. Java 2 Platform, Standard Edition (J2S...
No comments:
Post a Comment