2009-06-15 78 views

回答

1

它看起來像砰! Howdy有applet下載所有必要的文件,然後啓動一個獨立的進程來運行應用程序。如果您查看Java控制檯的日誌,您將看到一堆下載語句,然後在最後調用啓動應用程序。

2009/06/15 07:24:12:484 INFO C.a: Running C:\Program Files\Java\jre6\bin\javaw.exe 
    -classpath 
    C:\Documents and Settings\user\Application Data\bang\code\config.jar;C:\Documents and Settings\usere\Application Data\bang\code\bang-config.jar;C:\Documents and Settings\user\Application Data\bang\code\bang-pcode.jar;C:\Documents and Settings\user\Application Data\bang\code\lwjgl.jar;C:\Documents and Settings\user\Application Data\bang\code\lwjgl_util.jar;C:\Documents and Settings\user\Application Data\bang\code\commons-beanutils.jar;C:\Documents and Settings\user\Application Data\bang\code\commons-digester.jar;C:\Documents and Settings\user\Application Data\bang\code\commons-logging.jar 
    -Xmx256M 
    -Djava.library.path=C:\Documents and Settings\user\Application Data\bang/native 
    -Dappdir=C:\Documents and Settings\user\Application Data\bang 
    -Dresource_dir=C:\Documents and Settings\user\Application Data\bang/rsrc 
    com.threerings.bang.client.BangApp 

您可能還想看看Java WebStart,它的功能大致相同。

+0

謝謝!但據我所知,WebStart的問題在於它會提示用戶下載並啓動.jnlp文件。我不想要任何形式的彈出窗口。 – samulisoderlund 2009-06-15 11:48:32