Re: running source code in eclipse

by buzzz » Mon Jun 19, 2023 2:44 pm

Oups... yes, I forget to add the VM arguments, it now works.

I still have an error with the substring call here :

Code: Select all

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