Forum Stats

  • 3,875,117 Users
  • 2,266,806 Discussions
  • 7,912,086 Comments

Discussions

Cannot run Java SE Development Kit 8u65 Demos and Samples in Netbean 8.0.2

Hi,

I've download Java SE Development Kit 8u65 Demos and Samples at Java SE Development Kit 8 - Downloads. I follow README.txt at "jdk-8u66-windows-x64-demos\jdk1.8.0_66\demo\nbproject" to try to bring up the Java2D demo in Netbean 8.0.2. But when I "clean and build the project", I get following error:

{code}

ant -f C:\\Users\\ttran.INTL\\Downloads\\jdk-8u66-windows-x64-demos\\jdk1.8.0_66\\demo\\nbproject\\jfc\\Java2D clean jar

clean:

Deleting directory C:\Users\ttran.INTL\Downloads\jdk-8u66-windows-x64-demos\jdk1.8.0_66\demo\nbproject\jfc\Java2D\build

compile:

Created dir: C:\Users\ttran.INTL\Downloads\jdk-8u66-windows-x64-demos\jdk1.8.0_66\demo\nbproject\jfc\Java2D\build\classes

Compiling 63 source files to C:\Users\ttran.INTL\Downloads\jdk-8u66-windows-x64-demos\jdk1.8.0_66\demo\nbproject\jfc\Java2D\build\classes

C:\Users\ttran.INTL\Downloads\jdk-8u66-windows-x64-demos\jdk1.8.0_66\demo\nbproject\jfc\Java2D\build.xml:47: Error running C:\Users\ttran.INTL\Downloads\jdk-8u66-windows-x64-demos\jdk1.8.0_66\demo\nbproject\jfc\Java2D\..\..\..\..\bin\javac.exe compiler

BUILD FAILED (total time: 0 seconds)

{code}


jdk1.8.0_25 is installed in my machine and I added "C:\Program Files\Java\jdk1.8.0_25" into PATH system variable.


I have done may google search but still cannot fix the issue. Can you let me know how I fix this issue? A step-by-step instruction or any note to run the all Demo and Sample code would be appreciated.

Thanks in advance.


Tien Tran



This discussion has been closed.