Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

9f9f7572-bdb0-4a9b-8a34-572d8a6f6a9bOct 28 2015 — edited Oct 28 2015

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



Comments

Deepak Patil
Well this looks like that one of your columns or tables are not in the respective database.

Please review the query (step) on which the process has failed , and check if the column EMPLOYE_STATUS_NK is available in the target or source.

Thanks
Dk
759013
Deepak,

Thanks for qucik reply. First column is only present in targer so executing it in target as it's a reference to an Oracle Sequence. Third column employee_description is mapped to a table in stagin.


I confirmed ; column EMPLOYE_STATUS_NK is present in target database and mapped with primary key of source table. I am executing on Source. This column is also marked as key in target datastore. It still give same error.




Any suggestions ?
Deepak Patil
quicker way to resolve this will be if you can share the SQL in this step where you are getting this error.

Some points to check -

if it's a seq number make sure it runs on "target" , it should be "check not null" and of course the Sequence is present in the database (here in target).

Thanks
Dk
759013
Deepak,

I closely followed the sql as you mentioned and figured out why I was getting this error. I had renamed a column in the target database. I added an "_" in column name. ODI had intially created a error table for this table, however ot again tried to create a new table but with a warning that table ALREADY EXISTS.
This table still had old table defination and would give an error "invalid and name of column.

Thanks.
Greenwich
Deepak Patil
Good stuff... mark the post as resolve if possible :)...
1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 25 2015
Added on Oct 28 2015
0 comments
2,743 views