Skip to Main Content

Java Programming

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!

loadjava - 10g and 11g

PauloSMOOct 1 2012 — edited Oct 1 2012
Hello;

Running this line in 11g:
loadjava -u myUser/Password -v -r -f ./java/MyString/MyStringObject.java
All OK.

Running the same line in 10g:
arguments: '-u' 'myUser/Password ' '-v' '-r' '-f' './java/MyString/MyStringObject.java'
Error while determining classes contained in ./java/MyString/MyStringObject.java
Exception oracle.aurora.sqljdecl.ParseException: Lexical error at line 75, column 5. Encountered: "@" (64), after : ""

The error line is @Override
    /**
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
Why does this happen?
Can it be solve by changing loadjava parameters?
Is there some incompatibility between 11g and 10g?

Thank you.
This post has been answered by unknown-7404 on Oct 1 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2012
Added on Oct 1 2012
2 comments
655 views