Skip to Main Content

Java and JavaScript in the Database

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Make error: missing resource: rules

User_30JVXSep 21 2023

Version: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production Issue Description: I have written a JAVA file, created a function using loadjava, and everything runs fine, except it's running slow. I checked the documentation at https://oracle-base.com/articles/9i/java-native-compilation-9i, and then I followed the instructions in the document. When I execute ncomp -user dev/dev@tsh NativeDemo.classes, I encountered an error:

Make error: missing resource: rules Exception in thread "main" java.lang.NullPointerException at oracle.jaccelerator.Make.computePatternActions(Make.java:724) at oracle.jaccelerator.Make.getPatternActions(Make.java:706) at oracle.jaccelerator.Make.patternActions(Make.java:773) at oracle.jaccelerator.Make.getDependencies(Make.java:604) at oracle.jaccelerator.Make.update(Make.java:651) at oracle.jaccelerator.Make.update(Make.java:644) at oracle.jaccelerator.Make.<init>(Make.java:41) at oracle.jaccelerator.Make.main(Make.java:25) at oracle.jaccelerator.ISVNcompConfiguration.invokeTargets(ISVNcompConfiguration.java:299) at oracle.jaccelerator.Ncomp.doit(Ncomp.java:408) at oracle.jaccelerator.Ncomp.main(Ncomp.java:18)

How can I resolve this issue? Please help me.

Comments
Post Details
Added on Sep 21 2023
1 comment
267 views