cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Compilation error on PA generated Java source files

Former Member
0 Likes
1,528

Hi All -

I get error messages for each independent variables when I compile the java files that are generated automatically out of PA.

When I run the following statement on the terminal:

>> javac -Xlint:deprecation KxJRT.jar My_Model.java

I get below errors during the compilation process:

symbol:class IKxDModellnput

location: class SampleModel SampleModel.java:702: error: cannot find symbol

private double Kxen_RobustRegression_0_KxVar6( IKxDModellnput ilnput ) {

However, when I run the same files using this statement:

>> javac -classpath KxJRT.jar My_Model.java

I just get some warnings/notifications regarding some depreciated statements on the source but ultimately it generates a class at the end of the compilation.

The question is: Should I modify the Java file that generated out of PA to get rid of the error messages that is compiled with -Xlint parameter or leave the source code as it is?

Your expert insights on the matter would be greatly appreciated.

Thanks & regards

Erdal

View Entire Topic
Former Member
0 Likes

Hi there -

I tried -

javac -Xlint:deprecation -classpath KxJRT.jar My_Model.java

The Notes/Warnings are generated out of this statement. (Pl. check the first shot)

However, when the class is recompiled with -Xlint:unchecked parameter, the outcome of this run is displayed on the second screenshot.

Thanks and regards

Erdal

sap-pa-1.jpg

sap-pa-2.jpg