Page 1 of 1

Java 1.8 Compile warning

Posted: Sat Mar 22, 2014 9:52 am
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?!

Re: Java 1.8 Compile warning

Posted: Sat Mar 22, 2014 1:04 pm
by UnAfraid
warning != error

Re: Java 1.8 Compile warning

Posted: Sat Mar 22, 2014 2:33 pm
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! ;)

Re: Java 1.8 Compile warning

Posted: Sat Mar 22, 2014 2:58 pm
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.

Re: Java 1.8 Compile warning

Posted: Sat Mar 22, 2014 6:28 pm
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 ^^.

Re: Java 1.8 Compile warning

Posted: Sat Mar 22, 2014 6:35 pm
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.

Re: Java 1.8 Compile warning

Posted: Sat Mar 22, 2014 7:59 pm
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).

Re: Java 1.8 Compile warning

Posted: Sun Mar 23, 2014 8:31 am
by sponer
thank's for the informations guys!