Is there any where i can download the maven eclipse plugin so that i can install it manually without using an update site?
The download site for the plugin http://eclipse.org/m2e/download/ only provides information of how to download it directly from the Eclipse IDE but not how to download it as a Zip file.
I need to install it on a Server that has no connectivity to the outside world so i need to download it as a zip archive then install it manually.
Thanks
Edit
I also found out that the Maven plugin comes pre-packaged with Eclipse for JAVA developers but not Eclipse for JAVA EE developers. (Which is the one i am using).
Edit
#Soulcheck - I tried your suggestion but it is coming up with an error. The command i used is
java -jar -DproxySet=true -DproxyHost=myproxyHost -DproxyPort=8080 plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -application org.eclipse.update.core.standaloneUpdate -command mirror -from http://download.eclipse.org/technology/m2e/releases -to C:\wresource\home\res.nosynch\temp.todel\m2e
I added the options for the proxy as that is required to get an external connection. The error is shown below: Do you think that maybe the URL is wrong?
!SESSION 2012-02-01 16:14:08.581 -----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.6.0_29
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments: -application org.eclipse.update.core.standaloneUpdate -command mirror -from http://download.eclipse.org/technology/m2e/releases -to C:\wresource\home\res.nosynch\temp.todel\m2e
Command-line arguments: -application org.eclipse.update.core.standaloneUpdate -command mirror -from http://download.eclipse.org/technology/m2e/releases -to C:\wresource\home\res.nosynch\temp.todel\m2e
!ENTRY org.eclipse.update.core 4 0 2012-02-01 16:14:12.213
!MESSAGE Unable to access "http://download.eclipse.org/technology/m2e/releases".
!STACK 1
org.eclipse.core.runtime.CoreException: Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
at org.eclipse.update.core.Utilities.newCoreException(Utilities.java:225)
at org.eclipse.update.core.Utilities.newCoreException(Utilities.java:256)
at org.eclipse.update.core.model.SiteModelFactory.parseSite(SiteModelFactory.java:95)
at org.eclipse.update.internal.core.SiteURLFactory.createSite(SiteURLFactory.java:80)
at org.eclipse.update.internal.core.InternalSiteManager.createSite(InternalSiteManager.java:334)
at org.eclipse.update.internal.core.InternalSiteManager.createSite(InternalSiteManager.java:326)
at org.eclipse.update.internal.core.InternalSiteManager.createSite(InternalSiteManager.java:298)
at org.eclipse.update.internal.core.InternalSiteManager.attemptCreateSite(InternalSiteManager.java:222)
at org.eclipse.update.internal.core.InternalSiteManager.getSite(InternalSiteManager.java:162)
at org.eclipse.update.core.SiteManager.getSite(SiteManager.java:82)
at org.eclipse.update.internal.mirror.MirrorCommand.run(MirrorCommand.java:78)
at org.eclipse.update.standalone.ScriptedCommand.run(ScriptedCommand.java:66)
at org.eclipse.update.standalone.StandaloneUpdateApplication.run(StandaloneUpdateApplication.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: org.xml.sax.SAXException: The XML stream is not a valid default "site.xml" file. The root tag is not site.
at org.eclipse.update.core.model.DefaultSiteParser.handleInitialState(DefaultSiteParser.java:393)
at org.eclipse.update.core.model.DefaultSiteParser.startElement(DefaultSiteParser.java:198)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.update.core.model.DefaultSiteParser.parse(DefaultSiteParser.java:154)
at org.eclipse.update.core.model.SiteModelFactory.parseSite(SiteModelFactory.java:83)
... 28 more
!SUBENTRY 1 org.eclipse.update.core 4 0 2012-02-01 16:14:12.216
!MESSAGE Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
!STACK 0
org.xml.sax.SAXException: The XML stream is not a valid default "site.xml" file. The root tag is not site.
at org.eclipse.update.core.model.DefaultSiteParser.handleInitialState(DefaultSiteParser.java:393)
at org.eclipse.update.core.model.DefaultSiteParser.startElement(DefaultSiteParser.java:198)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.update.core.model.DefaultSiteParser.parse(DefaultSiteParser.java:154)
at org.eclipse.update.core.model.SiteModelFactory.parseSite(SiteModelFactory.java:83)
at org.eclipse.update.internal.core.SiteURLFactory.createSite(SiteURLFactory.java:80)
at org.eclipse.update.internal.core.InternalSiteManager.createSite(InternalSiteManager.java:334)
at org.eclipse.update.internal.core.InternalSiteManager.createSite(InternalSiteManager.java:326)
at org.eclipse.update.internal.core.InternalSiteManager.createSite(InternalSiteManager.java:298)
at org.eclipse.update.internal.core.InternalSiteManager.attemptCreateSite(InternalSiteManager.java:222)
at org.eclipse.update.internal.core.InternalSiteManager.getSite(InternalSiteManager.java:162)
at org.eclipse.update.core.SiteManager.getSite(SiteManager.java:82)
at org.eclipse.update.internal.mirror.MirrorCommand.run(MirrorCommand.java:78)
at org.eclipse.update.standalone.ScriptedCommand.run(ScriptedCommand.java:66)
at org.eclipse.update.standalone.StandaloneUpdateApplication.run(StandaloneUpdateApplication.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
!SUBENTRY 1 org.eclipse.update.core 4 0 2012-02-01 16:14:12.218
!MESSAGE Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
!STACK 0
org.xml.sax.SAXException: The XML stream is not a valid default "site.xml" file. The root tag is not site.
at org.eclipse.update.core.model.DefaultSiteParser.handleInitialState(DefaultSiteParser.java:393)
at org.eclipse.update.core.model.DefaultSiteParser.startElement(DefaultSiteParser.java:198)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.update.core.model.DefaultSiteParser.parse(DefaultSiteParser.java:154)
at org.eclipse.update.core.model.SiteModelFactory.parseSite(SiteModelFactory.java:83)
at org.eclipse.update.internal.core.SiteURLFactory.createSite(SiteURLFactory.java:80)
at org.eclipse.update.internal.core.InternalSiteManager.createSite(InternalSiteManager.java:334)
at org.eclipse.update.internal.core.InternalSiteManager.createSite(InternalSiteManager.java:326)
at org.eclipse.update.internal.core.InternalSiteManager.createSite(InternalSiteManager.java:298)
at org.eclipse.update.internal.core.InternalSiteManager.attemptCreateSite(InternalSiteManager.java:222)
at org.eclipse.update.internal.core.InternalSiteManager.getSite(InternalSiteManager.java:162)
at org.eclipse.update.core.SiteManager.getSite(SiteManager.java:82)
at org.eclipse.update.internal.mirror.MirrorCommand.run(MirrorCommand.java:78)
at org.eclipse.update.standalone.ScriptedCommand.run(ScriptedCommand.java:66)
at org.eclipse.update.standalone.StandaloneUpdateApplication.run(StandaloneUpdateApplication.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Edit
Ok i got it to work with the following command:
eclipse.exe -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication -source http://download.eclipse.org/technology/m2e/releases -destination file:C:\temp\m2e\
The above will put the contents into c:\temp\m2e. To install it manually on eclipse,
- click on "Help" >> "install new Software".
- On the window that pops up click "Add" on the top right corner and on the next window that pops up click on "Local" and specify the path C:\temp\m2e\ and click OK and you are done! :)
m2e doesn't provide zipped update site, but you can try to mirror the official one locally and then use the mirror to install the features you need. According to this doc it should be as simple as:
java -jar plugins/org.eclipse.equinox.launcher_<version>.jar
-application org.eclipse.update.core.standaloneUpdate
-command mirror
-from update_site_url
-featureId id_of_the_feature
-to your_local_dir
edit2 eclipse indigo, etc
Ok looks like they changed things a bit. Now one should use p2 repository mirroring:
eclipse -nosplash -verbose
-application org.eclipse.equinox.p2.artifact.repository.mirrorApplication
-source http://download.eclipse.org/releases/indigo
-destination file:/destination_dir
-ius org.eclipse.m2e.feature.feature.group
As far as I can see -ius parameter doesn't work, so the whole repo is going to be mirrored.
It looks like p2 ant tasks are the preffered way of creating mirrors, and supposedly they allow fine grained control on what is mirrored.
Related
I am doing a project on Netbeans and trying to package an exe file and below is the error. I found some related topics to this, but none of them work for me. Can someone help me with this, please?
Thanks.
java.io.IOException: Exec failed with code 2 command [[C:\Program Files (x86)\Inno Setup 6\iscc.exe, /oC:\Users\kenny\Documents\NetBeansProjects\MyRebarsProject\dist\bundles, C:\Users\kenny\AppData\Local\Temp\fxbundler2533082479821554529\images\win-exe.image\MyRebarsProject.iss] in C:\Users\kenny\AppData\Local\Temp\fxbundler2533082479821554529\images\win-exe.image
at com.oracle.tools.packager.IOUtils.exec(IOUtils.java:165)
at com.oracle.tools.packager.IOUtils.exec(IOUtils.java:138)
at com.oracle.tools.packager.IOUtils.exec(IOUtils.java:132)
at com.oracle.tools.packager.windows.WinExeBundler.buildEXE(WinExeBundler.java:697)
at com.oracle.tools.packager.windows.WinExeBundler.bundle(WinExeBundler.java:366)
at com.oracle.tools.packager.windows.WinExeBundler.execute(WinExeBundler.java:173)
at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(PackagerLib.java:352)
at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(PackagerLib.java:319)
at com.sun.javafx.tools.ant.DeployFXTask.execute(DeployFXTask.java:286)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at jdk.nashorn.internal.scripts.Script$75$\^eval\_.:program(<eval>:225)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:449)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:406)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402)
at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:155)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:109)
at org.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:103)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:67)
at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:53)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor248.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
C:\Users\kenny\Documents\NetBeansProjects\MyRebarsProject\nbproject\build-native.xml:736: Error: Bundler "EXE Installer" (exe) failed to produce a bundle.
BUILD FAILED (total time: 3 seconds)
It's fixed. Actually I had to reinstall Inno Setup 6 and add it to the path again.
I don't know what makes this message come up at the time I open Matlab on Windows 8.1:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.mde.cmdwin.XCmdWndView.getAfterPromptPoint(XCmdWndView.java:2473)
at com.mathworks.mde.cmdhist.AltHistory.getPromptLocation(AltHistory.java:1391)
at com.mathworks.mde.cmdhist.AltHistory.getPopupBounds(AltHistory.java:1407)
at com.mathworks.mde.cmdhist.AltHistory._showPopup(AltHistory.java:1371)
at com.mathworks.mde.cmdhist.AltHistory.access$5500(AltHistory.java:152)
at com.mathworks.mde.cmdhist.AltHistory$HistoryClientListener$1.run(AltHistory.java:1864)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Unable to parse command history line: d>
Unable to parse command history line: d>
Unable to parse command history line: d>
Unable to parse command history line: /command>
Unable to parse command history line: d>
Unable to parse command history line: >
Unable to parse command history line: >
I use Matlab 2014a and don't know if it is well compatible with Windows 8.1.. Do you have any idea?
While creating exe file using inno setup in Netbeans 7.3.1 if i do a custom iss file in package/windows folder, i am getting this error message. I have written this line inside the TimeTracker.iss:
[UninstallDelete]
Type: filesandordirs; Name: "{usercf}\timetracker"
Result application bundle: D:\Project\TimeTracker\dist\bundles
java.io.IOException: Exec failed with code 2 command [[iscc.exe, /oD:\Project\TimeTracker\dist\bundles, C:\Users\dsingh\AppData\Local\Temp\build5274695928588461589.fxbundler\images\win-app.image\TimeTracker.iss] in C:\Users\dsingh\AppData\Local\Temp\build5274695928588461589.fxbundler\images\win-app.image
at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:131)
at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:107)
at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:101)
at com.sun.javafx.tools.packager.bundlers.WinExeBundler.buildEXE(WinExeBundler.java:324)
at com.sun.javafx.tools.packager.bundlers.WinExeBundler.bundle(WinExeBundler.java:144)
at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(PackagerLib.java:527)
at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(PackagerLib.java:506)
at com.sun.javafx.tools.ant.DeployFXTask.execute(DeployFXTask.java:234)
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:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
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:606)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)
at sun.org.mozilla.javascript.internal.MemberBox.invoke(MemberBox.java:165)
at sun.org.mozilla.javascript.internal.NativeJavaMethod.call(NativeJavaMethod.java:245)
at sun.org.mozilla.javascript.internal.Interpreter.interpretLoop(Interpreter.java:1706)
at sun.org.mozilla.javascript.internal.Interpreter.interpret(Interpreter.java:849)
at sun.org.mozilla.javascript.internal.InterpretedFunction.call(InterpretedFunction.java:162)
at sun.org.mozilla.javascript.internal.ContextFactory.doTopCall(ContextFactory.java:433)
at com.sun.script.javascript.RhinoScriptEngine$1.superDoTopCall(RhinoScriptEngine.java:116)
at com.sun.script.javascript.RhinoScriptEngine$1.access$200(RhinoScriptEngine.java:71)
at com.sun.script.javascript.RhinoScriptEngine$1$1.run(RhinoScriptEngine.java:105)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.script.javascript.RhinoScriptEngine$1.doTopCall(RhinoScriptEngine.java:103)
at sun.org.mozilla.javascript.internal.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
at sun.org.mozilla.javascript.internal.InterpretedFunction.exec(InterpretedFunction.java:173)
at sun.org.mozilla.javascript.internal.Context.evaluateReader(Context.java:1159)
at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:214)
at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:240)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
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:606)
at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:108)
at org.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:103)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:67)
at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:52)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:283)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:541)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
This simply comes down to iscc.exe exited with code 2, which according to the documentation means "compile failed".
The best way to find out why is to run that command directly and see what happens.
If that works, then you will need to try and get the output (stdout) of the command to see what it reported.
Is Inno Setup 5.5 or more recent installed and added to the Windows path. Please restart your IDE after installing the above tools.
I have same errors with build project in Eclipse. I just change install path of Inno Setup and delete all spaces, fix PATH enviroment and restart IDE.
From:
C:\Java\Software\Inno Setup 5
To:
C:\Java\Software\InnoSetup5
I'm just running thru the instructions here on windows:
https://developers.google.com/web-toolkit/gettingstarted
$ ./webAppCreator -out MyWebApp com.mycompany.mywebapp.MyWebApp
java.lang.NoClassDefFoundError: com/google/gwt/user/tools/WebAppCreator
Caused by: java.lang.ClassNotFoundException: com.google.gwt.user.tools.WebAppCreator
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.google.gwt.user.tools.WebAppCreator. Program will exit.
Exception in thread "main"
Try adding the folder where webAppCreator is to your PATH variable so you can run without needing to be in that folder ... Also you prob dont use Cygwin, but don't use cygwin command line and use the regular Windows command line (I had same error when using Cygwin)
when I run: java %JAVA_OPTS% -cp %JARS%(jar_files) com.android.cts.TestHost %CONFIG%(xml path) %* %DDCONFIG%
in cmd promt im getting following error, please anybody suggest solution for this error
Exception in thread "main" java.lang.NoClassDefFoundError: and
Caused by: java.lang.ClassNotFoundException: and
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: and. Program will exit.
Package com.android.cts.TestHost is exists in Jar file.which
I had the same issue by using cygwin
I found the solution on this blog
You just have to do the modification of those two line in the script startcts :
JARS=`cygpath -w -p ${CTS_LIB}:${DDM_LIB}:${JUNIT_LIB}:${HOSTTEST_LIB}`
java ${JAVA_OPTS} -cp ${JARS} com.android.cts.TestHost `cygpath -w ${CONFIG}` "$#" ${DDCONFIG}
Then I was able to have the CTS prompt