Print at Dec 15, 2025, 7:39:05 PM

Posted by buzzz at Jun 19, 2023, 4:44:11 PM
Re: running source code in eclipse
Oups... yes, I forget to add the VM arguments, it now works.

I still have an error with the substring call here :


if (yafarayPluginsFolder != null)
{
try
{
String jarFile = sweetHome3DBootstrapClass.getResource(sweetHome3DBootstrapClass.getSimpleName() + ".class").getFile();
String t = jarFile.substring(0, jarFile.indexOf("!/"));
URL applicationJarUrl = new URL(t);


with :
jarfile = C:/Users/toto/Desktop/SweetHome3D-7.1-src/classes/com/eteks/sweethome3d/SweetHome3DBootstrap.class