Page 2 of 4

Re: java error

Posted: Thu Apr 29, 2010 5:00 pm
by Beachmol
JIV wrote:not l2j related - JVM cannot access DLL. search on forum afaik there was some solution.
Thx for your answer.

When i search with google or into the L2J forums, i don't find anything about JVM and/or access DLL :(

I've tried several things but nothing works :(

Would you please tell me if you have an idea where and what i should search exactly ?

Sorry to bother.

B.

Re: java error

Posted: Sat May 01, 2010 5:02 pm
by Beachmol
Hi,

Ok, i've tried on 3 other computers with windows XP SP3 and still this issue and i begin to be tired....

If somebody would like to tell me how can i fix this issue awt.dll: access denied, i'll thank you forever !!!

I thought perhaps it was a Kaspersky 2010 fault, so i've tried on a computer witrh a fresh windows xp pro sp3 install and still the same "access denied".... :evil:

I can't believe i'm the only one with this issue, so, please, help meeeeeeeeee !!! lol :)

Thx in advance.

B.

Re: java error

Posted: Sat May 01, 2010 7:55 pm
by MELERIX
Beachmol wrote:I thought perhaps it was a Kaspersky 2010 fault, so i've tried on a computer witrh a fresh windows xp pro sp3 install and still the same "access denied".... :evil:
Probably you are using a non official version of XP PRO SP3 (like Windows UE or related).

I'm running XP PRO SP3 (original) here without problems.

Btw... I'm using this antivirus: http://www.microsoft.com/security_essentials/

Re: java error

Posted: Sat May 01, 2010 9:25 pm
by magestik
I had the same java error useing jre6 on win7.
Error solved by removeing jre6 and installing java jdk1.6.0_19. now work a treat :)

Re: java error

Posted: Sun May 02, 2010 8:27 am
by Beachmol
MELERIX wrote:
Beachmol wrote:I thought perhaps it was a Kaspersky 2010 fault, so i've tried on a computer witrh a fresh windows xp pro sp3 install and still the same "access denied".... :evil:
Probably you are using a non official version of XP PRO SP3 (like Windows UE or related).

I'm running XP PRO SP3 (original) here without problems.

Btw... I'm using this antivirus: http://www.microsoft.com/security_essentials/
Hi, and thx for your answer.

Sorry, but my windows xp pro sp3 is an official one... with an original license cd key from Microsoft, with the last updates downloaded to the Microsoft official website, so, NO, i don't use an unofficial windows xp pro. My third computers have their own original cd key :) so no, it's not from where is my "access denied" issue ;)

B.

Re: java error

Posted: Sun May 02, 2010 8:47 am
by Beachmol
magestik wrote:I had the same java error useing jre6 on win7.
Error solved by removeing jre6 and installing java jdk1.6.0_19. now work a treat :)
Hi, thx for your answer :)

Ok, i've just uninstalled JRE6 and installed JDK 6u20 ( jdk-6u20-windows-i586.exe ) and still the same issue :evil:

Perhaps i need to reboot my computer ? anyway i saw while installing JDK, JRE 6u20 is installed too, so, do i need to install all the JDK package without JRE6 please ?

Thank you for your help :)

B.

Re: java error

Posted: Sun May 02, 2010 8:56 am
by janiii
try what magestik wrote. maybe it is really latest jre issue. try an older one.

Re: java error

Posted: Sun May 02, 2010 9:01 am
by Beachmol
janiii wrote:try what magestik wrote. maybe it is really latest jre issue. try an older one.
Ok,

I'm trying to find a link where to download the java jdk1.6.0_19

I'll tell you :)

In progress...

Re: java error

Posted: Sun May 02, 2010 9:07 am
by MELERIX
I'm using jdk1.6.0_20 in my pc with XP PRO SP3 and in my server with W2003 R2 SP2, without issues...

so probably you have a issue with priviledges or antivirus/app-firewall blocking your Java...

btw, beetween u19 <-> u20 there is no major differences, only fixes for "critical security issues": http://www.oracle.com/technology/deploy ... -0886.html

Re: java error

Posted: Sun May 02, 2010 9:08 am
by janiii

Re: java error

Posted: Sun May 02, 2010 9:50 am
by Beachmol
Thank you for the link.

Ok, i've found on my HDD an old revision of JRE (6u13), trying, and same issue, then uninstall JRE6u13.
Next, install the full package of java jdk1.6.0_19 and still the same issue... AWT.DLL: access denied !

The strange thing is i can create a new account and make a new character, that works ! it's just when i try to login into the game, the new character loads, sometime i can see NPC and mobs loaded too, but the character and everything don't move. Watching into the gameserver console window and tada ! the awt.dll: access denied.

I give up ! i don't know what's wrong and i begin to be tired...

Thx a lot for your help :(

B.

Re: java error

Posted: Sun May 02, 2010 9:53 am
by Spyder
Check your Environment Variables and see if the "PATH" variable is pointing to the JDK instead of the JRE.
Cause it seems like it's still trying to run the server using the JRE.

Re: java error

Posted: Sun May 02, 2010 11:18 am
by magestik
Yes, after installing java JDK i had to manually edit the 'path' in system variables and add

Code: Select all

C:\Program Files\java\jdk1.6.0_19\bin

Re: java error

Posted: Sun May 02, 2010 11:42 am
by MELERIX
magestik wrote:Yes, after installing java JDK i had to manually edit the 'path' in system variables and add

Code: Select all

C:\Program Files\java\jdk1.6.0_19\bin
nop, JDK folder shouldn't be in "path", you need to create a different variable called "JAVA_HOME"

Look Here: http://wso2.org/project/wsas/java/2.0/d ... -home.html

Re: java error

Posted: Sun May 02, 2010 11:44 am
by janiii
it should be also in PATH and also in JAVA_HOME variable. both. at least i have both set up.