Problems with Java 8

General discussion area.
Post Reply
andre.s7
Posts: 5
Joined: Tue 14. Jan 2014, 12:08

Problems with Java 8

Post by andre.s7 » Fri 28. Nov 2014, 14:59

Hello everyone!

Since my update to Java 8 from Java 7 jReality doesn't start anymore. For example if I want to run the Cube06 example from the tutorials, the following error messages pops up:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Duplicate methods named spliterator with the parameters () and () are inherited from the types List and Collection
Duplicate methods named spliterator with the parameters () and () are inherited from the types Collection and Iterable
Duplicate methods named spliterator with the parameters () and () are inherited from the types List and Collection
Duplicate methods named spliterator with the parameters () and () are inherited from the types Collection and Iterable
Duplicate methods named spliterator with the parameters () and () are inherited from the types List and Collection
Duplicate methods named spliterator with the parameters () and () are inherited from the types Collection and Iterable

at de.jreality.scene.data.DoubleArrayArray$Array.<init>(DoubleArrayArray.java:53)
at de.jreality.scene.data.StorageModel$DAA.createReadOnly(StorageModel.java:701)
at de.jreality.scene.data.StorageModel.createReadOnly(StorageModel.java:201)
at de.jreality.geometry.AbstractPointSetFactory.setVertexCoordinates(AbstractPointSetFactory.java:121)
at de.jreality.geometry.IndexedFaceSetFactory.setVertexCoordinates(IndexedFaceSetFactory.java:161)
at de.jreality.tutorial.geom.Cube06.main(Cube06.java:89)
Is this already fixed and I just need to download jReality again from the git repository (or whereever from) or should I return back to Java 7?

Muchas Thanks
André

Andre
Posts: 226
Joined: Fri 18. Sep 2009, 11:30

Re: Problems with Java 8

Post by Andre » Fri 28. Nov 2014, 15:08

Dear Andre,

I'm still using Java7 so I didn't have the error. Some of our students use/used Java8 and I recommended them turning back to java7.

best
Andre

andre.s7
Posts: 5
Joined: Tue 14. Jan 2014, 12:08

Re: Problems with Java 8

Post by andre.s7 » Wed 3. Dec 2014, 15:07

Alles klar, Java 7 sei es also.

Vielen Dank für die Antwort!

Lena01
Posts: 1
Joined: Thu 17. Aug 2017, 14:50

Re: Problems with Java 8

Post by Lena01 » Thu 17. Aug 2017, 14:52

The Java language has undergone several changes since JDK 1.0 as well as numerous additions of classes and packages to the standard library. Since J2SE 1.4, the evolution of the Java language has been governed by the Java Community Process (JCP), which uses Java Specification Requests (JSRs) to propose and specify additions and changes to the Java platform. The language is specified by the Java Language Specification (JLS); changes to the JLS are managed under JSR 901
:) hello

Onlyzen
Posts: 2
Joined: Wed 26. Jul 2017, 16:15
Location: United States

Re: Problems with Java 8

Post by Onlyzen » Fri 10. Nov 2017, 10:32

i am also using java 7 ... i have no idea about java 8 problems

Post Reply