can not run with ifcsoft.jar file as desktop program

10 views
Skip to first unread message

Saad norstrÖm

unread,
Aug 29, 2011, 3:51:07 AM8/29/11
to Kyle Thayer, ifc...@googlegroups.com
when I packaged ifcsoft with netbeans 6.9.1 into three files(in DIST folder)
ifcsoft.jar,
ifcsoft.jnlp,
ifcsoft_brower.jnlp

I found that ifcsoft can not run, and prompt:fatal exception occurred!  program will exit!

but ifcsoft.jnlp works correctly after digital sign is added.

do you account the same problem? my javafx is V1.3.

Thanks!

Patrick

Kyle Thayer

unread,
Aug 29, 2011, 8:46:37 PM8/29/11
to ifc...@googlegroups.com, Saad norstrÖm
Hello Patrick,

I don't think I've seen the "fatal exception occurred" error before, but I know it has to be signed to work. Because it reads and writes files off of the local drive, Java won't let you run it unless it is signed. When I am making changes I normally leave the automatic signing option off in Netbeans so it compiles faster, but when I am going to put it online or use it elsewhere, I re-enable that option. Also, with JavaFX 1.3, I think you may have to be online to get it to work in any case so it can make sure JavaFX is up to date.

Let me know if you have any more questions (or if I failed to answer sufficiently),

Kyle

Kyle Thayer

unread,
Aug 29, 2011, 9:59:43 PM8/29/11
to ifc...@googlegroups.com
There seem to be two ways to get it to work with no internet connection, neither is very pretty:

1) Run it from Netbeans. For some reason it doesn't require the check for updates on JavaFX.

2) You can put the essential files on your hard drive and set the jnlp to check for the files there. Here are the instructions for JavaFX 1.2 (I can't imagine they would be much different from 1.3): http://download.oracle.com/javafx/1.2/tutorials/deployment_toolkit/index.html

I hope JavaFX 2.0 and Visage will have a better solution, but that should work ok for now.

Kyle

On Mon, Aug 29, 2011 at 7:45 PM, Saad norstrÖm <j.ne...@gmail.com> wrote:
Thanks Kyle

I found the "fatal exception occurred" error only when I try to run the ifcsoft.jar file.
ifcsoft.jnlp works well(when I signed it).

I hope to use it as independent desktop software no matter if it is online.
Have you tried this?

Patrick
Reply all
Reply to author
Forward
0 new messages