cancel
Showing results for 
Search instead for 
Did you mean: 

Compilation error on PA generated Java source files

Former Member
0 Kudos

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
bertrand_lamy
Employee
Employee
0 Kudos

No, sorry I meant: you should try:

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

(-classpath and KxJRT.jar must not be separated).