[jbosstools-issues] [JBoss JIRA] (JBIDE-15187) BrowserSim does not start on Fedora with OpenJDK(jre)

Konstantin Marmalyukov (JIRA) jira-events at lists.jboss.org
Tue Jul 16 06:28:27 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-15187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Marmalyukov updated JBIDE-15187:
-------------------------------------------

    Description: 
*Steps to reproduce:*
# You need to install OpenJDK 6 or 7(not openjdk-devel package, simple openjdk) if you do not have it
# Go to Preferences > Java > Installed JREs and add OpenJDK to the list
# Revove all JREs except OpenJDK from the JRE list
# Try to run BrowserSim

*Actual result:*
BrowserSim does not start, the following exception is printed to the error log:
{code}
 
!ENTRY org.jboss.tools.vpe.browsersim.eclipse 4 0 2013-07-11 19:14:18.974
!MESSAGE Cannot run program "/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25/bin/java" (in directory "/home/fedora/workspaceCR1/.metadata/.plugins/org.eclipse.pde.core/New_configuration"): error=2, No such file or directory
!STACK 0
java.io.IOException: Cannot run program "/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25/bin/java" (in directory "/home/fedora/workspaceCR1/.metadata/.plugins/org.eclipse.pde.core/New_configuration"): error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
        at org.jboss.tools.vpe.browsersim.eclipse.launcher.ExternalProcessLauncher.launchAsExternalProcess(ExternalProcessLauncher.java:87)
        at org.jboss.tools.vpe.browsersim.eclipse.launcher.BrowserSimLauncher.launchBrowserSim(BrowserSimLauncher.java:47)
        at org.jboss.tools.vpe.browsersim.eclipse.actions.RunBrowserSimAction.run(RunBrowserSimAction.java:55)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
        at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.io.IOException: error=2, No such file or directory
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
        at java.lang.ProcessImpl.start(ProcessImpl.java:130)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
        ... 34 more
{code}

  was:
*Steps to reproduce:*
# You need to install OpenJDK 6 or 7(not openjdk-devel package) if you do not have it
# Go to Preferences > Java > Installed JREs and add OpenJDK to the list
# Revove all JREs except OpenJDK from the JRE list
# Try to run BrowserSim

*Actual result:*
BrowserSim does not start, the following exception is printed to the error log:
{code}
 
!ENTRY org.jboss.tools.vpe.browsersim.eclipse 4 0 2013-07-11 19:14:18.974
!MESSAGE Cannot run program "/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25/bin/java" (in directory "/home/fedora/workspaceCR1/.metadata/.plugins/org.eclipse.pde.core/New_configuration"): error=2, No such file or directory
!STACK 0
java.io.IOException: Cannot run program "/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25/bin/java" (in directory "/home/fedora/workspaceCR1/.metadata/.plugins/org.eclipse.pde.core/New_configuration"): error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
        at org.jboss.tools.vpe.browsersim.eclipse.launcher.ExternalProcessLauncher.launchAsExternalProcess(ExternalProcessLauncher.java:87)
        at org.jboss.tools.vpe.browsersim.eclipse.launcher.BrowserSimLauncher.launchBrowserSim(BrowserSimLauncher.java:47)
        at org.jboss.tools.vpe.browsersim.eclipse.actions.RunBrowserSimAction.run(RunBrowserSimAction.java:55)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
        at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.io.IOException: error=2, No such file or directory
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
        at java.lang.ProcessImpl.start(ProcessImpl.java:130)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
        ... 34 more
{code}


    
> BrowserSim does not start on Fedora with OpenJDK(jre)
> -----------------------------------------------------
>
>                 Key: JBIDE-15187
>                 URL: https://issues.jboss.org/browse/JBIDE-15187
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: browsersim
>    Affects Versions: 4.1.0.CR1, 4.2.0.Alpha1
>         Environment: 32-bit Fedora 17 (using this VirtualBox image: https://sourceforge.net/projects/virtualboximage/files/Fedora/17/Fedora-17-x86.7z )
>            Reporter: Yahor Radtsevich
>            Assignee: Yahor Radtsevich
>              Labels: respin-b
>             Fix For: 4.1.0.CR1
>
>
> *Steps to reproduce:*
> # You need to install OpenJDK 6 or 7(not openjdk-devel package, simple openjdk) if you do not have it
> # Go to Preferences > Java > Installed JREs and add OpenJDK to the list
> # Revove all JREs except OpenJDK from the JRE list
> # Try to run BrowserSim
> *Actual result:*
> BrowserSim does not start, the following exception is printed to the error log:
> {code}
>  
> !ENTRY org.jboss.tools.vpe.browsersim.eclipse 4 0 2013-07-11 19:14:18.974
> !MESSAGE Cannot run program "/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25/bin/java" (in directory "/home/fedora/workspaceCR1/.metadata/.plugins/org.eclipse.pde.core/New_configuration"): error=2, No such file or directory
> !STACK 0
> java.io.IOException: Cannot run program "/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25/bin/java" (in directory "/home/fedora/workspaceCR1/.metadata/.plugins/org.eclipse.pde.core/New_configuration"): error=2, No such file or directory
>         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
>         at org.jboss.tools.vpe.browsersim.eclipse.launcher.ExternalProcessLauncher.launchAsExternalProcess(ExternalProcessLauncher.java:87)
>         at org.jboss.tools.vpe.browsersim.eclipse.launcher.BrowserSimLauncher.launchBrowserSim(BrowserSimLauncher.java:47)
>         at org.jboss.tools.vpe.browsersim.eclipse.actions.RunBrowserSimAction.run(RunBrowserSimAction.java:55)
>         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
>         at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>         at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
>         at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>         at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
>         at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
>         at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
>         at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> Caused by: java.io.IOException: error=2, No such file or directory
>         at java.lang.UNIXProcess.forkAndExec(Native Method)
>         at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
>         at java.lang.ProcessImpl.start(ProcessImpl.java:130)
>         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
>         ... 34 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list