[SOLVED]java error

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Beachmol
Posts: 27
Joined: Tue Apr 21, 2009 8:49 pm
Location: France

Re: java error

Post 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.
Beachmol
Posts: 27
Joined: Tue Apr 21, 2009 8:49 pm
Location: France

Re: java error

Post 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.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: java error

Post 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/
magestik
Posts: 31
Joined: Tue Jul 19, 2005 3:21 pm

Re: java error

Post 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 :)
Beachmol
Posts: 27
Joined: Tue Apr 21, 2009 8:49 pm
Location: France

Re: java error

Post 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.
Beachmol
Posts: 27
Joined: Tue Apr 21, 2009 8:49 pm
Location: France

Re: java error

Post 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.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: java error

Post by janiii »

try what magestik wrote. maybe it is really latest jre issue. try an older one.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Beachmol
Posts: 27
Joined: Tue Apr 21, 2009 8:49 pm
Location: France

Re: java error

Post 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...
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: java error

Post 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
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: java error

Post by janiii »

DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Beachmol
Posts: 27
Joined: Tue Apr 21, 2009 8:49 pm
Location: France

Re: java error

Post 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.
User avatar
Spyder
Posts: 8
Joined: Mon Nov 02, 2009 9:05 am

Re: java error

Post 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.
magestik
Posts: 31
Joined: Tue Jul 19, 2005 3:21 pm

Re: java error

Post 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
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: java error

Post 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
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: java error

Post by janiii »

it should be also in PATH and also in JAVA_HOME variable. both. at least i have both set up.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply