[forge-issues] [JBoss JIRA] (FORGE-2508) No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

Ashish Aggarwal (JIRA) issues at jboss.org
Wed Oct 21 21:43:00 EDT 2015


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

Ashish Aggarwal commented on FORGE-2508:
----------------------------------------

modified forge.bat to echo 1.8 
opened cmd , 
went to bin folder of my forge installation
run the forge.bat
it displayed 1.8 in cmd



> No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
> ------------------------------------------------------------------------------------------------
>
>                 Key: FORGE-2508
>                 URL: https://issues.jboss.org/browse/FORGE-2508
>             Project: Forge
>          Issue Type: Quality Risk
>          Components: Build Tools - Maven
>    Affects Versions: 2.20.0.Final
>            Reporter: Ashish Aggarwal
>
> while installing angular js addon for forge i am getting below error :- 
> [SEVERE] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project angularjs: Compilation failure
> [SEVERE] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
> [SEVERE] -> [Help 1]
> [SEVERE] 
> [SEVERE] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [SEVERE] Re-run Maven using the -X switch to enable full debug logging.
> [SEVERE] 
> [SEVERE] For more information about the errors and possible solutions, please read the following articles:
> [SEVERE] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> ***ERROR*** Error while executing 'addon-install-from-git'
> ***INFO*** (type "export VERBOSE=true" to enable stack traces)
> ***ERROR*** Unable to execute project build
> [PracticeSession15Sep2015]$ addon-install-from-git --url https://github.com/forge/angularjs-addon.git
> ***INFO*** Installing Addon from Git 	[1/4] ...
> ***INFO*** Installing Addon from Git:Cloning repository in C:\Users\Ash\AppData\Local\Temp\tmpdir2956571090541956900 	[1/4] ...
> ***INFO*** Installing Addon from Git:Installing project into local repository 	[2/4] ...
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building angularjs 2.1.6-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ angularjs ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ angularjs ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ angularjs ---
> [INFO] 
> [INFO] --- buildnumber-maven-plugin:1.3:create-timestamp (get-build-timestamp) @ angularjs ---
> [INFO] 
> [INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ angularjs ---
> [INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD"
> [INFO] Working directory: C:\Users\Ash\AppData\Local\Temp\tmpdir2956571090541956900
> [INFO] Storing buildNumber: 3e2248593380b724e205d2ab59e6fe307c037c2d at timestamp: 1445453834156
> [INFO] Storing buildScmBranch: master
> [INFO] 
> [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ angularjs ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 42 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ angularjs ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 15 source files to C:\Users\Ash\AppData\Local\Temp\tmpdir2956571090541956900\target\classes
> [INFO] -------------------------------------------------------------
> [SEVERE] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [SEVERE] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7.113 s
> [INFO] Finished at: 2015-10-21T11:57:17-07:00
> [INFO] Final Memory: 162M/398M
> [INFO] ------------------------------------------------------------------------
> [SEVERE] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project angularjs: Compilation failure
> [SEVERE] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
> [SEVERE] -> [Help 1]
> [SEVERE] 
> [SEVERE] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [SEVERE] Re-run Maven using the -X switch to enable full debug logging.
> [SEVERE] 
> [SEVERE] For more information about the errors and possible solutions, please read the following articles:
> [SEVERE] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> ***ERROR*** Error while executing 'addon-install-from-git'
> ***INFO*** (type "export VERBOSE=true" to enable stack traces)
> ***ERROR*** Unable to execute project build
> [PracticeSession15Sep2015]$ 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list