If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision 5216:
L2JDP Revision 8729:
Im running windows 7 64bit
Eclipse 3.7.2 64bit
Java SE Development Kit 7u3 64bit
Subclipse 1.8.x
Well my problem is that im getting an error on eclipse package "com.l2jserver.gameserver.script"
file Expression.java at this part "import javax.script.ScriptContext;"
Im getting this error:
"Access restriction: The type ScriptContext is not accessible due to restriction on required library C:\Program Files\Java\jre7\lib\rt.jar"
and in other files that contain this import as well.
Eclipse ScriptContext miss?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Eclipse ScriptContext miss?
You don't have JDK installed?
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: Eclipse ScriptContext miss?
Isn't "Java SE Development Kit 7u3 64bit" JDK?jurchiks wrote:You don't have JDK installed?
Some related links from the web:
http://stackoverflow.com/questions/9266 ... ed-library
http://old.nabble.com/Try-the-First-ste ... 19168.html
http://outrospective.org/wordpress/2011 ... d-library/
http://www.daniweb.com/software-develop ... 8663/page2
http://www.eclipsetrader.org/ticket/39
http://ianma.wordpress.com/2010/05/03/a ... dk-rt-jar/
http://stackoverflow.com/questions/8601 ... ary-rt-jar
I believe is something missing to configure in Eclipse, many developers said that you can ignore such warnings/errors.
Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 

-
- Posts: 16
- Joined: Mon Oct 24, 2011 8:31 pm
Re: Eclipse ScriptContext miss?
Well i found it i had messed up the .settings -.- so for future reference if you come up to this clean your settings with retail ones.
Last edited by Darule on Thu Mar 15, 2012 7:00 pm, edited 1 time in total.
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: Eclipse ScriptContext miss?
NiceDarule wrote:Well i found it i has messed up the .settings -.- so for future reference if you come up to this clean your settings with retail ones.

Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 
