How to launch the default (native) application for a given file from Java?
What you want is java.awt.Desktop: Desktop.getDesktop().open( file );
What you want is java.awt.Desktop: Desktop.getDesktop().open( file );
If you fire up the p2 console, you can use the p2 query language to find all features that depend on a bundle. My example is in Eclipse Juno (4.2): switch to the OSGi console in the console view ss p2.console # to find the console bundle number felix:start -t consoleBundleNumber Now you can issue … Read more
Classycle can be a good start (for static dependencies between classes at least) (I find their graph a bit complicated to follow though : CDA – Class Dependency Analyzer is an external tool, but produce much more readable dependency graphs)
Eclipse is launching your application with whatever JRE you defined in your launch configuration. Since you’re running the 32-bit Eclipse, you’re running/debugging against its 32-bit SWT libraries, and you’ll need to run a 32-bit JRE. Your 64-bit JRE is, for whatever reason, your default Installed JRE. To change this, first make sure you have a … Read more
You are probably looking for this: PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(“viewId”);