i need help with awt.dll: Access denied

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
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

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

Post 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 :)
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

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

Post 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
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

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

Post 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.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

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

Post by jurchiks »

@hope - by "pro java programmer" he meant YOU, and it was sarcasm.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
demian23
Posts: 20
Joined: Mon Oct 04, 2010 3:00 pm

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

Post 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...
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

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

Post 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.
You do not have the required permissions to view the files attached to this post.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

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

Post 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
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

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

Post 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 ?
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
demian23
Posts: 20
Joined: Mon Oct 04, 2010 3:00 pm

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

Post 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
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

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

Post 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
davide874
Posts: 112
Joined: Sat Apr 19, 2008 10:45 am

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

Post by davide874 »

i have the exact same problem...

i can't find a way to solve it...
User avatar
Flashy
Posts: 310
Joined: Mon Sep 29, 2008 11:49 am
Location: Germany

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

Post 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.
dinor
Posts: 141
Joined: Tue Aug 26, 2008 10:07 am

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

Post 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.
davide874
Posts: 112
Joined: Sat Apr 19, 2008 10:45 am

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

Post 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...
demian23
Posts: 20
Joined: Mon Oct 04, 2010 3:00 pm

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

Post by demian23 »

i used client unmodified but dont work and i use host connection :(
@hope thanks for your help... tomorrow see you
Locked