D dieterp Active Member Licensed User Longtime User Mar 13, 2025 #1 I have a B4J app that I'm building as a standalone package. When I try run it on a new laptop I get the error "Could not find or load main class @release_java_modules.txt". Attached is a screenshot of the run_debug.bat file. Anyone who can assist please?
I have a B4J app that I'm building as a standalone package. When I try run it on a new laptop I get the error "Could not find or load main class @release_java_modules.txt". Attached is a screenshot of the run_debug.bat file. Anyone who can assist please?
DonManfred Expert Licensed User Longtime User Mar 13, 2025 #2 you should use the path of the standalone build to start the jar. You should run it in the path where the run_debug.bat and the exe is located. C:\windows\System32 is 100% the wrong path. Upvote 0
you should use the path of the standalone build to start the jar. You should run it in the path where the run_debug.bat and the exe is located. C:\windows\System32 is 100% the wrong path.
DonManfred Expert Licensed User Longtime User Mar 13, 2025 #3 For example: If you want to run the run_debug.bat in this Path you have to open a command-prompt "in this Folder". If you just open one then the path is C:\windows\System32 or your userfolder. in my case i have to switch the drive and then chdir to the correct folder e: chdir E:\ORC\BotWatchDog\Objects\temp\build Click to expand... You are now in the correct path. you can run run the debug_bat from here run_debug.bat Click to expand... PD: You need to use the right paths on your PC for sure Upvote 0
For example: If you want to run the run_debug.bat in this Path you have to open a command-prompt "in this Folder". If you just open one then the path is C:\windows\System32 or your userfolder. in my case i have to switch the drive and then chdir to the correct folder e: chdir E:\ORC\BotWatchDog\Objects\temp\build Click to expand... You are now in the correct path. you can run run the debug_bat from here run_debug.bat Click to expand... PD: You need to use the right paths on your PC for sure