Page 2 of 6

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 10:25 am
by Naonah
demian23 wrote: i put in JAVA_HOME=C:\program files\Java\jdk1.6.0_21\

and path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32
\WindowsPowerShell\v1.0\
but its same... dont work :(
hope wrote: No u don't do you know anything at all about java
Ask this pro java programmer quoted above. He will tell you why it is not working :)

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 1:02 pm
by hope
Naonah wrote:
demian23 wrote: i put in JAVA_HOME=C:\program files\Java\jdk1.6.0_21\

and path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32
\WindowsPowerShell\v1.0\
but its same... dont work :(
hope wrote: No u don't do you know anything at all about java
Ask this pro java programmer quoted above. He will tell you why it is not working :)
You've got a classpath problem. It would help to show both the code and the command line arguments to the JVM
And don't call yourself a Java Programmer when we all know you know nothing about it

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 1:35 pm
by JIV
this error is obviously not l2j related. and dont spam my pm box about it

I DONT KNOW HOW TO FIX THIS, NEVER HAPPEN TO ME

try google or something.

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 2:02 pm
by jurchiks
@hope - by "pro java programmer" he meant YOU, and it was sarcasm.

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 3:00 pm
by demian23
set as it was there but the same error keeps coming...

i dont know to modify :(

ClassPath=C:\Program Files\Java\jdk1.6.0_21\src.zip;C:\Program Files\Java\jdk1.6.0_17\lib\tools.jar;.

JAVA_HOME=C:/j2sdk1.4.1_07 or C:/program files/java/jdk1.6.0_21 with any work :(

Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
or
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jre6\bin;C:\Program Files\Java\jre6\lib
with any work :(

Code: Select all

7/10/2010 09:44:11 AM com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket runGRAVE: Client: [Character: Demian[268482346] - Account: zayko - IP: 127.0.0.1] - Failed running: [C] 03 EnterWorld - L2J Server Version: 4420 - DP Revision: 7668 ; C:\Program Files\Java\jre6\bin\awt.dll: Acceso denegadojava.lang.UnsatisfiedLinkError: C:\Program Files\Java\jre6\bin\awt.dll: Access denied
apologies for the inconvenience but I have like 3 days trying to fix this problem and I could not...

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 3:18 pm
by jurchiks
I have it like this and I have no problems.
In Eclipse I've also set to use only JDK and deleted JRE from the list.

By the way, it looks like you have 3-4 different versions of java installed (jdk1.6.0_17/21, jre 1.6.0_21, j2sdk...).
You only need JDK 1.6.0_20 (21 is said to have problems with Eclipse), it also contains JRE.
Also remember that in none of the paths you need to set lib or bin folder, just the main folder.

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 4:00 pm
by hope
jurchiks wrote:@hope - by "pro java programmer" he meant YOU, and it was sarcasm.
was talking about what he has in his sig

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 4:10 pm
by _DS_
This file exist ? C:\Program Files\Java\jre6\bin\awt.dll
It has correct permissions and can be accessed by the user running l2j server ?

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 7:34 pm
by demian23
@hope
I did what you said but still gives me the same error ... format my hard drive and install everything again and not working :(

Code: Select all

7/10/2010 02:42:00 PM com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket runGRAVE: Client: [Character: Demian[268482346] - Account: zayko - IP: 127.0.0.1] - Failed running: [C] 03 EnterWorld - L2J Server Version: 4420 - DP Revision: 7668 ; Could not initialize class java.awt.Rectanglejava.lang.NoClassDefFoundError: Could not initialize class java.awt.Rectangle

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 8:15 pm
by hope
demian23 wrote:@hope
I did what you said but still gives me the same error ... format my hard drive and install everything again and not working :(

Code: Select all

7/10/2010 02:42:00 PM com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket runGRAVE: Client: [Character: Demian[268482346] - Account: zayko - IP: 127.0.0.1] - Failed running: [C] 03 EnterWorld - L2J Server Version: 4420 - DP Revision: 7668 ; Could not initialize class java.awt.Rectanglejava.lang.NoClassDefFoundError: Could not initialize class java.awt.Rectangle
On Friday I will help you as it is the only free time I will have will pm u with my msn

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 8:26 pm
by davide874
i have the exact same problem...

i can't find a way to solve it...

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 8:29 pm
by Flashy
davide874 wrote:i have the exact same problem...

i can't find a way to solve it...
if you have one, stop your virus scanner (real time scanner) and try it again.

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 8:31 pm
by dinor
I'm sure ths error has to do with client side.
I got this error as well when i try to use modified ini to run the client in order to connect to my server.

Whith unmodified client this never happens.

Re: i need help with awt.dll: Access denied

Posted: Thu Oct 07, 2010 11:00 pm
by davide874
dinor wrote:I'm sure ths error has to do with client side.
I got this error as well when i try to use modified ini to run the client in order to connect to my server.

Whith unmodified client this never happens.
you could be wrong since i use retail system...with host connection...

Re: i need help with awt.dll: Access denied

Posted: Fri Oct 08, 2010 2:55 am
by demian23
i used client unmodified but dont work and i use host connection :(
@hope thanks for your help... tomorrow see you