Community
Participate
Working Groups
Build Identifier: 20100603-0907 I m tryin to deploy my RCP application via Java Web Start. The application runs fine when I just compile and run the executable file, but when I run it via java web start, it freeze after the application show some dialogs (FileDialogs, ...). The application seems to work fine, until I choose to open a file or a directory. Just after close the FileDialog, it freeze and I have to "Force Quit". The problem is only in Linux and JWS. The application and the dialogs works fine in Windows. My JVM is Java 6 update 20 (build 1.6.0_20-b02). Im using Eclipse 3.5. The same problem happens in Eclipse 3.6. All jar files are signed. I created a sample project (Mail) and make it open a FileDialog, and the same problem happens. When I execute the .jnlp with root privileges the application works fine (sudo javaws teste.jnlp). Thanks, Varejao Reproducible: Always Steps to Reproduce: 1.Create a RCP Plugin Project (Mail template) 2.Change the code to make it open a swt FileDialog when clicking a button FileDialog fileDialog = new FileDialog(window.getShell()); // Set the text fileDialog.setText("Selecione um documento"); // Set filter on .txt files fileDialog.setFilterExtensions(new String[] { "*.xml" }); // Put in a readable name for the filter fileDialog.setFilterNames(new String[] { "Arquivos XML(*.xml)" }); // Open Dialog and save result of selection String selected = fileDialog.open(); 3.Deploy the application via java web start and try to open the FileDialog.
Moving to SWT for comment since it sounds like a platform specific issue. Since the problem only occurs when integrated with JWS, I'm not sure this is an Eclipse issue at all.
*** This bug has been marked as a duplicate of bug 280649 ***