Problema em executar aplicação webstart via NetBeans

0 respostas
B

Bom dia,

Segui todas as instruções segundo o site http://wiki.netbeans.org/JavaWebStartSupportInNetBeansIDE

Making the project Web Start enabled

Provided that the project is already running as desktop application the first step is really easy - just make the project Java Web Start enabled:

* Open Project properties of the project and select node Webstart
* Click the checkbox 'Enable Web Start' and also 'Self-signed', because the application needs to be signed to be able to access all resources
* You can also click 'Allow Offline' if you want the application to run without internet connection (of course after the application is once downloaded)
* Close project properties dialog - new run configuration called WebStart for running the project via Java Web Start is created

Checking ‘Self-signed’ checkbox means that all jar files will be signed by self-signed certificate and application will be able to access the same resources from the computer as regular application running locally. Self-signed certificate is created during the build of the project.

There are also other web start related properties that are on panel called Application in Project Properties dialog, those properties are application title, vendor, description, homepage and splash screen. Values of those properties are usually shown to user either during downloading or starting the application.

Now it’s possible to run the project via Web Start. Check whether the project is set as main, if not, invoke context menu and select ‘Set as Main Project’. Then check also that selected project configuration on Main Window is ‘WebStart’, if not, select it. Now you can hit F6 and project will be executed via Java Web Start. When application runs via Web Start the splash screen ‘Java Starting …’ is shown and then you will be asked whether signed application can be executed. If you hit Run the application will be started.

Eu até consigo executar em deployment HTTP, mas quando tento por execução local ele até cria a chave, assina os jars mas depois com o F6 ele simplesmente assina tudo outra vez 0o e nem chegar aparecer a tela de splash…
basicamente minha dúvida é essa, alguem sabe se falta alguma configuração pra testar minha aplicação WebStart no NetBeans ?

Obrigado.

Criado 9 de novembro de 2009
Respostas 0
Participantes 1