on 10-05-2018 9:14 PM
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
No, sorry I meant: you should try:
javac -Xlint:deprecation -classpath KxJRT.jar My_Model.java
(-classpath and KxJRT.jar must not be separated).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your feedback/reply is very helpful.
Appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, could you please raise a ticket with SAP Support? Thanks and kind regards Antoine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi -
I compiled with -classpath as well. But the result is the same. The result screen -> javac-xlint-with-classpath.jpg
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Aren't you missing the classpath option on the first line ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.