This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
sirdabalot's profile picture

Using BON [SOLVED]

Started by sirdabalot, 16 November 2012 - 12:02 AM
sirdabalot #1
Posted 16 November 2012 - 01:02 AM
I'm having a problem with BON (github version), when I try to run it BON comes up with an error that says:

Could not find the main class:
immibis.beardedoctonemesis.gui.GuiMain. Program will exit.

Could anyone help me?
Espen #2
Posted 16 November 2012 - 01:35 AM
Create a .bat file in the same folder as 'immibis', so that it'd look something like this:

SOME_PATH_IN_YOUR_COMPUTERimmibis
SOME_PATH_IN_YOUR_COMPUTERstartgui.bat


Then write this into the .bat file:
@echo off
java immibis.beardedoctonemesis.gui.GuiMain

Alternatively you can do the same with a link-file, whatever strikes your fancy. :)/>/>

Edit:
To explain a bit more: It basically tells you that it couldn't find the path in relation to your current one.
That means you can simply change the path from which you are calling the GUI to the one from where calling immibisbeardedoctonemesisguiGuiMain would be possible, i.e. one folder above 'immibis'.

And Kudos again @immibis for making such a nice tool. Makes life a lot easier. :P/>/>
Edited on 16 November 2012 - 12:40 AM
sirdabalot #3
Posted 16 November 2012 - 03:17 AM
-Snippaged-

Thanks for not only giving me a solution, but also explaining the problem. :P/>/>