Hey,
So really struggling with deployment.
Initially when I gave out my jme game as a .exe, but quite a few people could not run it. Unfortunately I have no indication as to what those errors were/are at the moment and have been unable to recreate.
So, i’m trying to have this run as an applet. However, the applet gets stuck when loading on “Validating packages”.
I have web start enabled with self-signed generated key and local execution.
When I do this with no signed key, it loads until past “Validating packages” and then just goes white and doesn’t run. This worked back in May fine :S.
I’ve also seen that Java has updated their security and in order to have it run as an applet, it needs to have a trusted certificate? I’m struggling to find a place to get this! The only place I can find is nearly 200$!! Have I misread something or does it literally mean developers can no longer offer free online games without paying for this certificate or being open-source(and thus getting a free one?)?
Final thing for me to do would be to have this as a downloadable .jar file and run. But with both an online applet and a normal executable jar I ideally need this to be obfuscated whilst I’m attempting to secure funding(and once I secure funding, can move towards making this open source as I intend for other users to be able to build their own extensions/adapt to suit their needs because there’s a lot of benefit for others involved to see such customisations)!
But I have issues with this too! I can get the .jar to run, but not when obfuscated. Hence trying to get it working without obfuscation first but failing in all directions! -.-
Additionally with obfuscation I get this error:
\${platform.home}\jre\lib\rt.jar] (No such file or directory)
And have updated
<property name="proguard.library.path" value="${platform.home}/jre/lib/rt.jar"/>
To
<target name="-create-library-property" depends="-create-mac-library-property"> <property name="proguard.library.path" value="${java.home}/lib/rt.jar"/> </target>
(for anyone else that has that problem)
It builds without errors although still gets stuck at “Validating packages. data.jar” when using not signing it and when signing it with my own key(and selecting web deplyoment) I get a whole bunch of key related errors:
Warning: can’t write resource [META-INF/AUIMUAOR.SF] (Duplicate zip entry [jME3-terrain.jar:META-INF/AUIMUAOR.SF])
Similar to this: http://pastebin.com/ifpgy8Tb
Effectively, I cannot find some suitable combination to be able to release! :(.
Any help would be mega appreciated! Thankyou!!