Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Eclipse Java Compatiblity error
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 0
TheDrunkMafia

Eclipse Java Compatiblity error

By TheDrunkMafia, March 19, 2013 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

TheDrunkMafia    3

TheDrunkMafia

TheDrunkMafia    3

  • Tree Puncher
  • TheDrunkMafia
  • Members
  • 3
  • 36 posts
Posted March 19, 2013

Hey,

 

So I've just started to learn java and i've just got to the point were I am ready to put my knowledge to the test and start developing basic mods in minecraft so as to improve my skills.

 

Today I got all the files needed, MCP, Minecraft Sever.Jar, Etc, etc and everything seemed to be working, so when I went to load eclipse using the work space provided, three errors occurred. The main one being

 

Error:

 

Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the work space that are strictly compatible with this environment.

 

So far i've tried everything I can think of, uninstalled all java (including the JDK) and re installed, nothing has prevailed.

 

 

So any help would be most appreciated.

 

  • Quote

Share this post


Link to post
Share on other sites

jordan30001    15

jordan30001

jordan30001    15

  • Creeper Killer
  • jordan30001
  • Members
  • 15
  • 157 posts
Posted March 19, 2013

You probably only have JRE/SDK 1.7 installed

 

your two options are

 

use the 1.7 JRE/SDK

or

find the latest 1.6 JRE/SDK on java.com

  • Quote

Share this post


Link to post
Share on other sites

TheDrunkMafia    3

TheDrunkMafia

TheDrunkMafia    3

  • Tree Puncher
  • TheDrunkMafia
  • Members
  • 3
  • 36 posts
Posted March 19, 2013

It was the 1.7 JRE/SDK that I re-downloaded.

  • Quote

Share this post


Link to post
Share on other sites

TheDrunkMafia    3

TheDrunkMafia

TheDrunkMafia    3

  • Tree Puncher
  • TheDrunkMafia
  • Members
  • 3
  • 36 posts
Posted March 20, 2013

Fixed the problem, it would seem that the current version of Eclipse is only compatible with jdk 6. So I've download-graded for the time being. Just letting people know, so if there is anyone else who has ran into the same problem as the one I have had, all you have to do is downgrade to the last version of JDK.

  • Quote

Share this post


Link to post
Share on other sites

LexManos    1519

LexManos

LexManos    1519

  • Reality Controller
  • LexManos
  • Forge Code God
  • 1519
  • 8571 posts
Posted March 20, 2013

Its not incompatible with 6, its just that the minecraft projects are defined as being compiled ofrr 1.6.

Unless you explicitly have a 1.6 JRE installed it'd say you have a warning.

However it works just fine as JDK7 is backwards compatible with 1.6.

  • Quote

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
Reply to this topic...

×   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.

  • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • BitNet_
      [1.12.2] Exception loading model

      By BitNet_ · Posted 17 minutes ago

      That hasn't worked for me, I still get the model registering error even when adding the code to my build.gradle
    • JMAS
      Recompile mod with newer version of Java?

      By JMAS · Posted 21 minutes ago

      Thank you for your quick and direct response.   After making the changes directed, (commenting out), I now receive the following error: Execution failed for task ':runClient'. > Process 'command 'C:\Program Files\Java\jdk1.8.0_231\bin\java.exe'' finished with non-zero exit value 1    Minecraft no longer loads. No new debug.log was generated in run/logs. 😕
    • Lea9ue
      .setRepairItem not work

      By Lea9ue · Posted 34 minutes ago

      In your item class you should have something like...   @Override public boolean getIsRepairable(ItemStack toRepair, ItemStack repair) { if (toRepair.getItem().equals("YOUR ITEM") && repair.getItem().equals("WHAT REPAIRS IT")) { return true; } else { return false; } }  
    • Electrodynamite12
      .setRepairItem not work

      By Electrodynamite12 · Posted 41 minutes ago

      I made the ToolMaterial, and i add the .setRepairItem method, announced the ItemStack, where indicated the target item. Maybe i made something wrong? public static Item.ToolMaterial HLOMINITE = EnumHelper.addToolMaterial("another_test:hlominite", 5, 1000, 50.0F, 16.0F, 76).setRepairItem(new ItemStack(ItemsRegister.HLOMINGOT));
    • diesieben07
      [1.12.2] Exception loading model

      By diesieben07 · Posted 1 hour ago

  • Topics

    • BitNet_
      2
      [1.12.2] Exception loading model

      By BitNet_
      Started 8 hours ago

    • JMAS
      6
      Recompile mod with newer version of Java?

      By JMAS
      Started 10 hours ago

    • Electrodynamite12
      1
      .setRepairItem not work

      By Electrodynamite12
      Started 41 minutes ago

    • Hemeroahz
      5
      1.12.2 Crashing Upon Running Forge

      By Hemeroahz
      Started November 27, 2017

    • zhubwat
      9
      Forge not creating version .jar files?

      By zhubwat
      Started January 25, 2016

  • Who's Online (See full list)

    • Скачать
    • Мирас
    • saxon564
    • plugsmustard
    • M1ntcraft3r
    • Guy123
    • JMAS
    • imacatlolol
    • BitNet_
    • AJGingy
    • Lordyammer
    • ItzGenes
    • Nuparu00
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Eclipse Java Compatiblity error
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community