Share via

Eclipse IDE Debug/Run Not Working

Anonymous
2020-11-16T20:45:45+00:00

When i attempt to run my program in Debug mode in Eclipse IDE, it says "'Launching client' has encountered a problem.

Variable references empty selection: ${project_loc}"

I am trying to make a forge mc mod if that's any help. 

And this is my startup code 

package com.example.examplemod;

import net.minecraft.init.Blocks;

import net.minecraftforge.fml.common.Mod;

import net.minecraftforge.fml.common.Mod.EventHandler;

import net.minecraftforge.fml.common.event.FMLInitializationEvent;

@Mod(modid = ExampleMod.MODID, version = ExampleMod.VERSION)

public class ExampleMod

{

    public static final String MODID = "examplemod";

    public static final String VERSION = "1.8.9";

    @EventHandler

    public void init(FMLInitializationEvent event)

    {

// some example code

        System.out.println("DIRT BLOCK >> "+Blocks.dirt.getUnlocalizedName());

    }

    private Object projec_loc;

    }

I have also restarted my pc multiple times

Windows for home | Windows 10 | Accessibility

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2020-11-16T20:55:42+00:00

    Hi and thanks for reaching out. My name is William, I’m an Independent Advisor. I'll be happy to help you out today.

    I'm afraid we are not equipped to answer that question here. This is more of a general Windows 10/Microsoft products forum. Due to the specificity of your question, you should post this question to the Eclipse community forum where it is likely to gain better traction: https://www.eclipse.org/forums/

    That said, there is a bug report on Eclipse regarding this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=4...

    Was this answer helpful?

    0 comments No comments