[forge-issues] [JBoss JIRA] (FORGE-1799) Forge 1.4.3 in JBoss Developer Studio - forge install-plugin arquillian - Fatal error compiling: tools.jar not found: C:\Java\32-bit\jre7\..\lib\tools.jar -> [Help 1]

George Gastaldi (JIRA) issues at jboss.org
Fri May 9 01:31:56 EDT 2014


    [ https://issues.jboss.org/browse/FORGE-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966635#comment-12966635 ] 

George Gastaldi commented on FORGE-1799:
----------------------------------------

set your JAVA_HOME to a valid JDK path and it should work

> Forge 1.4.3 in JBoss Developer Studio - forge install-plugin arquillian - Fatal error compiling: tools.jar not found: C:\Java\32-bit\jre7\..\lib\tools.jar -> [Help 1]
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FORGE-1799
>                 URL: https://issues.jboss.org/browse/FORGE-1799
>             Project: Forge
>          Issue Type: Bug
>         Environment: JBoss Developer Studio 7.1.1
>            Reporter: William Diaz Pabón
>
> IDE: JBoss Developer Studio 7.1.1.
> Forge: 1.4.3.Final
> S.O: Window 7
> JDK:  C:\Java\32-bit\jdk1.7.0_55
> Command: forge install-plugin arquillian
> Out:
> [arquillian-tutorial] arquillian-tutorial $ forge install-plugin arquillian
> ***INFO*** Preparing to install plugin: arquillian
> ***INFO*** Checking out plugin source files to [C:\Users\William\AppData\Local\Temp\forgetemp3008896451163330389] via 'git'
> ***INFO*** Switching to branch/tag [refs/heads/1.4.0.Final]
> ***INFO*** Invoking build with underlying build system.
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building arquillian-plugin 1.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ arquillian-plugin ---
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ arquillian-plugin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ arquillian-plugin ---
> [INFO] Compiling 25 source files to C:\Users\William\AppData\Local\Temp\forgetemp3008896451163330389\target\classes
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.402s
> [INFO] Finished at: Fri May 09 00:18:33 COT 2014
> [INFO] Final Memory: 32M/86M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project arquillian-plugin: Fatal error compiling: tools.jar not found: C:\Java\32-bit\jre7\..\lib\tools.jar -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> ***INFO*** Cleaning up temp workspace [C:\Users\William\AppData\Local\Temp\forgetemp3008896451163330389]
> org.jboss.forge.project.build.BuildException: Build failed.Deleted C:\Users\William\AppData\Local\Temp\forgetemp3008896451163330389
> ***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces)
> [arquillian-tutorial] arquillian-tutorial $ 
> 	at org.jboss.forge.maven.facets.MavenProjectBuilder.build(MavenProjectBuilder.java:87)
> 	at org.jboss.forge.shell.plugins.PluginManager.installFromProject(PluginManager.java:179)
> 	at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromGit(ForgePlugin.java:387)
> 	at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromIndex(ForgePlugin.java:206)
> 	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.jboss.forge.shell.command.Execution.perform(Execution.java:160)
> 	at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
> 	at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
> 	at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)
> 	at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)
> 	at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)
> 	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.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
> 	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
> 	at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
> 	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.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
> 	at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> 	at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
> 	at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
> 	at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
> 	at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
> 	at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
> 	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
> 	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> 	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> 	at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> 	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
> 	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
> 	at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)
> 	at java.lang.Thread.run(Unknown Source)



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)



More information about the forge-issues mailing list