IDEA 9 not honoring java.endorsed.dirs in project run configuration
IDEA 9 is not honoring the java.endorsed.dirs VM property in my project
run configuration. The exact same configuration works in IDEA 7 and 8.
The only differences I noticed between IDEA 7/8 and IDEA 9 is the following:
IDEA 7/8 use the following:
-Xrunjdwp:transport=dt_socket,address=127.0.0.1:51397,suspend=y,server=n
IDEA 9 uses the following:
-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:51346,suspend=y,server=n
Should that have any effect on the JRE loading the jars defined in the
java.endorsed.dirs VM property?
Any help is much appreciated.
If this is bug in IDEA, I'll submit an issue.
Regards,
Peter
Please sign in to leave a comment.
I also just noticed that the IDEA 9 VM property specified below is the
first parameter to the JVM, hence before the java.endorsed.dirs
property. The IDEA 7/8 equivalent parameter comes after the
java.endorsed.dirs property.
Not sure if this has anything to do with it.
Regards,
Peter
On 14/12/09 12:07 PM, Peter wrote:
>
>
>
>
>
>
>
>
>
Hmmm.... even when I run the app not in debug mode (ie. no agentlib
loaded), my app still doesn't pick up the jars in the java.endorsed.dirs
directory.
Any ideas anyone?
Regards,
Peter
On 14/12/09 12:15 PM, Peter wrote:
>
>
>
>
>> IDEA 9 is not honoring the java.endorsed.dirs VM property in my project
>> run configuration. The exact same configuration works in IDEA 7 and 8.
>>
>> The only differences I noticed between IDEA 7/8 and IDEA 9 is the
>> following:
>>
>> IDEA 7/8 use the following:
>> -Xrunjdwp:transport=dt_socket,address=127.0.0.1:51397,suspend=y,server=n
>>
>> IDEA 9 uses the following:
>> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:51346,suspend=y,server=n
>>
>>
>>
>> Should that have any effect on the JRE loading the jars defined in the
>> java.endorsed.dirs VM property?
>>
>> Any help is much appreciated.
>>
>> If this is bug in IDEA, I'll submit an issue.
>>
>> Regards,
>>
>> Peter
>
Hmmm.... even when I run the app not in debug mode (ie. no agentlib
loaded), my app still doesn't pick up the jars in the java.endorsed.dirs
directory.
Any ideas anyone?
Regards,
Peter
On 14/12/09 12:15 PM, Peter wrote:
>
>
>
>
>> IDEA 9 is not honoring the java.endorsed.dirs VM property in my project
>> run configuration. The exact same configuration works in IDEA 7 and 8.
>>
>> The only differences I noticed between IDEA 7/8 and IDEA 9 is the
>> following:
>>
>> IDEA 7/8 use the following:
>> -Xrunjdwp:transport=dt_socket,address=127.0.0.1:51397,suspend=y,server=n
>>
>> IDEA 9 uses the following:
>> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:51346,suspend=y,server=n
>>
>>
>>
>> Should that have any effect on the JRE loading the jars defined in the
>> java.endorsed.dirs VM property?
>>
>> Any help is much appreciated.
>>
>> If this is bug in IDEA, I'll submit an issue.
>>
>> Regards,
>>
>> Peter
>
Hello peter,
Are you on Windows?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hi Dmitry,
No, I am on MAC Pro running OSX 10.5 with 4GB RAM and the latest Java
update installed (note: this issue occurred before the Java update as well)
Regards,
Peter
On 14/12/09 11:03 PM, Dmitry Jemerov wrote:
>
>
>> IDEA 9 is not honoring the java.endorsed.dirs VM property in my
>> project run configuration. The exact same configuration works in IDEA
>> 7 and 8.
>>
>> The only differences I noticed between IDEA 7/8 and IDEA 9 is the
>> following:
>>
>> IDEA 7/8 use the following:
>> -Xrunjdwp:transport=dt_socket,address=127.0.0.1:51397,suspend=y,server
>> =n
>> IDEA 9 uses the following:
>> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:51346,suspend=y,s
>> erver=n
>> Should that have any effect on the JRE loading the jars defined in the
>> java.endorsed.dirs VM property?
>>
>> Any help is much appreciated.
>>
>> If this is bug in IDEA, I'll submit an issue.
>
Hi Dmitry,
I just tested this with IDEA 9 on a WinXP VM running in parallels and it
works!
So it appears this issue is specific for MAC.
I have created an issue in YouTrack:
http://youtrack.jetbrains.net/issue/IDEA-26858
This issue is actually quite annoying as it's stopping me from doing my
work with IDEA 9. Back to IDEA 7/8 until this is fixed :(
Regards,
Peter
On 14/12/09 11:03 PM, Dmitry Jemerov wrote:
>
>
>> IDEA 9 is not honoring the java.endorsed.dirs VM property in my
>> project run configuration. The exact same configuration works in IDEA
>> 7 and 8.
>>
>> The only differences I noticed between IDEA 7/8 and IDEA 9 is the
>> following:
>>
>> IDEA 7/8 use the following:
>> -Xrunjdwp:transport=dt_socket,address=127.0.0.1:51397,suspend=y,server
>> =n
>> IDEA 9 uses the following:
>> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:51346,suspend=y,s
>> erver=n
>> Should that have any effect on the JRE loading the jars defined in the
>> java.endorsed.dirs VM property?
>>
>> Any help is much appreciated.
>>
>> If this is bug in IDEA, I'll submit an issue.
>