Eclipse ScriptContext miss?

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
Post Reply
Darule
Posts: 16
Joined: Mon Oct 24, 2011 8:31 pm

Eclipse ScriptContext miss?

Post by Darule »

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

Re: Eclipse ScriptContext miss?

Post by jurchiks »

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.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Eclipse ScriptContext miss?

Post by Zoey76 »

jurchiks wrote:You don't have JDK installed?
Isn't "Java SE Development Kit 7u3 64bit" JDK?

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! ๐ŸŽฎ๐Ÿ’ฌ
Darule
Posts: 16
Joined: Mon Oct 24, 2011 8:31 pm

Re: Eclipse ScriptContext miss?

Post by Darule »

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.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Eclipse ScriptContext miss?

Post by Zoey76 »

Darule 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.
Nice :D
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Post Reply