Skip to Content
avatar image
Former Member

SAP IDM: MyAttributeClass.java Compiling Error

Dears,

I have followed document VDS-Accessing Databases 7.2 and could successfully perform all the configurations.

However, when I tried to compile the java file: "MyAttributeClass.java" it gave me below error:

Compiling MyAttributeClass.java
Unrecognized option: -target
Could not create the Java Virtual Machine

Has anybody faced the same error? Please advise how this can be resolved.

Regards,

Faisal

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jan 01, 2017 at 04:18 PM

    Hi Faisal,

    Please make sure that you've configured the Java options correctly in VDS. If you're still having issues, please post screenshots of your VDS Java setup.

    Matt

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 01, 2017 at 04:18 PM

    Hi Faisal,

    Please make sure that you've configured the Java options correctly in VDS. If you're still having issues, please post screenshots of your VDS Java setup.

    Matt

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 02, 2017 at 05:42 AM

    Dear Matt,

    Thanks for your reply.

    I have configured it according to the documentation. Please find the attached screenshot for your reference. Please help.

    jvm-settings.jpg

    Regards,

    Faisal

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 03, 2017 at 01:55 PM

    Hi Faisal,

    You could try using the embedded compiler option or try Oracle Java. Sometimes the SAP Java variant isn't so good for VDS.

    Also, how's your classpath set?

    Matt

    Add comment
    10|10000 characters needed characters exceeded