Java 1.8 Compile warning

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
User avatar
sponer
Posts: 86
Joined: Sat Jul 02, 2011 6:02 am

Java 1.8 Compile warning

Post by sponer »

L2J Revision Number: 6485
L2JDP Revision Number: 10260

Hello guys...
I updated my java from 1.7_51 to 1.8 and in compile i've got this warning (only in L2JServer compile)
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7

do you know how to fix it?!
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Java 1.8 Compile warning

Post by UnAfraid »

warning != error
Image
User avatar
sponer
Posts: 86
Joined: Sat Jul 02, 2011 6:02 am

Re: Java 1.8 Compile warning

Post by sponer »

UnAfraid wrote:warning != error
i didn't said it's an error... i can compile also with this warning.. i'm asking you how can i remove this warning! ;)
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Java 1.8 Compile warning

Post by UnAfraid »

We can when we switch to java 8 which is going to happen as soon as eclipse release official version that supports it.
Image
Hyrelius
Posts: 257
Joined: Thu Dec 16, 2010 5:16 am

Re: Java 1.8 Compile warning

Post by Hyrelius »

I thought Eclipse 4.4 supports it and there is support for 4.3 expected .. though I don't know if it's official. It's kinda weird we switch to Java 8 on release anyway, but duh .. not my decision ^^.
Image
I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Java 1.8 Compile warning

Post by Zoey76 »

Hyrelius wrote:I thought Eclipse 4.4 supports it and there is support for 4.3 expected .. though I don't know if it's official. It's kinda weird we switch to Java 8 on release anyway, but duh .. not my decision ^^.
Java 8 is already the official release, and we will switch when Eclipse version has built in support for all the Java 8 features, not develoment builds nor addons, that means at least one more month.

Like I explained in another post there is a difference between supporting Java 8, meaning our source could be compiled and run on it, and using it's features, until Eclipse's release we will be only supporting it.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
NosBit
L2j Veteran
L2j Veteran
Posts: 314
Joined: Mon Mar 11, 2013 4:19 pm

Re: Java 1.8 Compile warning

Post by NosBit »

We are supporting Java 8 so project can be compiled and run on java 8 that little warning can be ignored until we can switch and use Java 8 features when project wont be compatible with Java 7 anymore.

So for now you can run it on both Java 7 and 8.

We will probably switch to Java 8 somewhere in May when Eclipse releases Luna M7 or RC1 build (based on their schedule).
Image
User avatar
sponer
Posts: 86
Joined: Sat Jul 02, 2011 6:02 am

Re: Java 1.8 Compile warning

Post by sponer »

thank's for the informations guys!
Post Reply