Hi! I tried to test the sample code, but when I compile I get the next mess

Hi! I tried to test the sample code, but when I compile I get the next message:

com/diego/ui/dashboard/ChartsPruebaView.java:[11,30]
 cannot access com.storedobject.chart.BarChart

The imports in this view are:

import com.storedobject.chart.BarChart;
import com.storedobject.chart.CategoryData;
import com.storedobject.chart.Data;
import com.storedobject.chart.NightingaleRoseChart;
import com.storedobject.chart.Position;
import com.storedobject.chart.RectangularCoordinate;
import com.storedobject.chart.SOChart;
import com.storedobject.chart.Size;
import com.storedobject.chart.Title;
import com.storedobject.chart.Toolbox;
import com.storedobject.chart.XAxis;
import com.storedobject.chart.YAxis;

I’m using Vaadin 14 and JDK8.

Can you help me, please?

Thanks in advanced!

I solved upgrading to JDK 11. Thanks!

Ok, nice to learn that you resolved the issue.
Yes, I too was on JDK8 for quite sometime and now, it’s high time to switch.

yes, I was on JDK8 because PayaraMicro 5 wasn’t compatible with Java 11, but today read the lastest version it is Java 11 compatible. Thanks for your lib!

Hello is there a possibility to use this library with an JDK8 Project? Because, i can’t upgrade my hole project (too much libraries which don’t work under JDK11)

Best regards

Really sorry to get back to you so late. Somehow, I didn’t get any alerts for the messages from Vaadin directory and I didn’t visit this add-on for long.

Actually, almost all available libs of JDK 8 should work in JDK11 too. I don’t remember correctly but I think have seen some incompatibility issues with Buffer classes. I am now on JDK16 and right now, will be extremely difficult to go back to JDK8 again, really sorry.