Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse IDE Debug/Run Not Working(Launching error)
Eclipse IDE Debug/Run Not Working [message #1834723] Mon, 16 November 2020 21:06 Go to next message
ty u is currently offline ty uFriend
Messages: 1
Registered: November 2020
Junior Member
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";


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
Re: Eclipse IDE Debug/Run Not Working [message #1834732 is a reply to message #1834723] Tue, 17 November 2020 04:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31780
Registered: July 2009
Senior Member
Use Run -> Debug Configurations... to look at your Debug Configuration for this project and look a the Arguments tab to see where your using the project_loc variable.

Ed Merks
Professional Support:
Previous Topic:Invalid syntax coloring
Next Topic:indent with spaces in "Generic Text Editor"
Goto Forum:

Current Time: Sun Mar 07 10:11:23 GMT 2021

Powered by FUDForum. Page generated in 0.02906 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top