FR
Joined: Jun 25, 2017
Post Count: 54
Status:
Offline
Re: automatically open .sh3d file on a Mac
When I install the version of Zulu 15.0.10, it installs in the folder Library/Java/JavaVirtualMachines/zulu-15.jdk/Contents/Home
In build xml: I notice 2 differents paths depending on the architecture : value="/Library/Java/JavaVirtualMachines/zulu-15.0.10-macosx_x86_64.jdk/Contents/Home"/> and <property name="javaHome_macosx_arm64" value="/Library/Java/JavaVirtualMachines/zulu-15.0.10-macosx_aarch64.jdk/Contents/Home"/>
I do not see how to obtain these two different folders..
So, Im a bit embarassed, because I do not have the dylib for the arm version.
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: automatically open .sh3d file on a Mac
zulu-15.0.10-macosx_x86_64.jdk and zulu-15.0.10-macosx_aarch64.jdk folders are just renamed folders. As the build procedure needs both x86-64 and arm JDKs, I had to rename zulu-15.jdk folder. By the way, take the zulu-15.jdk folder found in Zulu tar.gz files at Azul, not dmg files.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: automatically open .sh3d file on a Mac
I would never have found this on my own :)
It's noted in build.xml here but it could be more detailed...
to build the dmg/app of SW for macos 13, I have to use : ant macosxInstaller Is that correct ?
macosxInstaller target will build a dmg but it won't be signed and can't be notarized, i.e. end users who download it will be able to run the application it contains only if they right click on it to select Open item in contextual menu. It's required only the fist time, and afterwards a simple double click will launch the program.
Note that if you encounter an error "hdiutil: create failed- Permission denied" at the end, add the line:
<arg value="-L"/>
in the statement which copies legal files to copy files matching symlinks, or use XCode 12 tools.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: automatically open .sh3d file on a Mac
dylib files coming with the current version of Sweet Home 3D are universal libraries containing binary code for Intel 64 bit and ARM processors. Are you sure you use the last version of these dylibs? Does your build.xml file builds a universal JRE like Sweet Home 3D does?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator