• 0
Sign in to follow this  
nortim

Help ERROR STREAM COLLECTORS ACIS JAVA 7

Question

Good afternoon, I'm working on a personal project and I'm having problems adding fakeplayers to my pack, it's there, use java 7, can anyone help me find this directory?2mn3a11.png

 

 

 

Reference:

 

List<OffensiveSpell> spellsOrdered = getOffensiveSpells().stream().sorted((o1, o2) -> Integer.compare(o1.getPriority(), o2.getPriority())).collect(Collectors.toList());

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
On 01/12/2018 at 19:24, Kara` said:

Não vale a pena mudar o código. Simplesmente atualize do Java7 para o java8. Ele também o ajudará no código futuro. 

 

 

On 01/12/2018 at 17:28, SweeTs said:

O Java 7 não possui recurso de fluxo. Código de retrabalho ou pacote de alterações para usar o Java 8.

 

 

 


Is there any teaching tutorial to switch to Java 8? I can not do this yet.

Share this post


Link to post
Share on other sites
  • 0

Right click on project - properties - Java Build Path - libraries tab, remove the java 7 libs and "Add library" java 8. Then, Java Compiler change to java 8. Should be enough.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.