Jump to content

gradlew.bat setupDecompWorkspace: Could not create JVM


gamesaucer

Recommended Posts

Hi, I'm new to Forge Modding and I've been attempting to get it to work for Eclipse.

I have Windows 7 32 bit.

The Forge version I downloaded was forge-1.7.2-10.12.0.1024-src

The errors in CMD are as follows:

 

 

:decompile

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

:decompile FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':decompile'.

> Process 'command 'C:\Program Files\Java\jre7\bin\java.exe'' finished with non-

zero exit value 1

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.

 

BUILD FAILED

 

Exception stack trace is as follows:

 

* Exception is:

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':decompi

le'.

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex

ecuteActions(ExecuteActionsTaskExecuter.java:69)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex

ecute(ExecuteActionsTaskExecuter.java:46)

        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExec

uter.execute(PostExecutionAnalysisTaskExecuter.java:35)

        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.exec

ute(SkipUpToDateTaskExecuter.java:64)

        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execut

e(ValidatingTaskExecuter.java:58)

        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecu

ter.execute(SkipEmptySourceFilesTaskExecuter.java:42)

        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter

.execute(SkipTaskWithNoActionsExecuter.java:52)

        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execut

e(SkipOnlyIfTaskExecuter.java:53)

        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter

.execute(ExecuteAtMostOnceTaskExecuter.java:43)

        at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailur

e(AbstractTask.java:289)

        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorW

orker.executeTask(AbstractTaskPlanExecutor.java:79)

        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorW

orker.processTask(AbstractTaskPlanExecutor.java:63)

        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorW

orker.run(AbstractTaskPlanExecutor.java:51)

        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$1.run(DefaultT

askPlanExecutor.java:33)

        at org.gradle.internal.Factories$1.create(Factories.java:22)

        at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(Def

aultCacheAccess.java:198)

        at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(Def

aultCacheAccess.java:266)

        at org.gradle.cache.internal.DefaultPersistentDirectoryStore.longRunning

Operation(DefaultPersistentDirectoryStore.java:135)

        at org.gradle.api.internal.changedetection.state.DefaultTaskArtifactStat

eCacheAccess.longRunningOperation(DefaultTaskArtifactStateCacheAccess.java:95)

        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(Defaul

tTaskPlanExecutor.java:31)

        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(Defau

ltTaskGraphExecuter.java:86)

        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTask

ExecutionAction.java:29)

        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute

r.java:61)

        at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExec

uter.java:23)

        at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecu

ter.java:67)

        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildEx

ecutionAction.java:32)

        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute

r.java:61)

        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute

r.java:54)

        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(Default

GradleLauncher.java:166)

        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradle

Launcher.java:113)

        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLaun

cher.java:81)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildCon

troller.run(InProcessBuildActionExecuter.java:64)

        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.jav

a:33)

        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.jav

a:24)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProce

ssBuildActionExecuter.java:35)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProce

ssBuildActionExecuter.java:26)

        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)

        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.jav

a:171)

        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.

execute(CommandLineActionFactory.java:201)

        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.

execute(CommandLineActionFactory.java:174)

        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(

CommandLineActionFactory.java:170)

        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(

CommandLineActionFactory.java:139)

        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionRep

ortingAction.java:33)

        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionRep

ortingAction.java:22)

        at org.gradle.launcher.Main.doAction(Main.java:46)

        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)

        at org.gradle.launcher.Main.main(Main.java:37)

        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBoots

trap.java:50)

        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.j

ava:32)

        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)

        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.ja

va:30)

        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)

        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:58)

Caused by: org.gradle.process.internal.ExecException: Process 'command 'C:\Progr

am Files\Java\jre7\bin\java.exe'' finished with non-zero exit value 1

        at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNo

rmalExitValue(DefaultExecHandle.java:361)

        at org.gradle.process.internal.DefaultJavaExecAction.execute(DefaultJava

ExecAction.java:31)

        at org.gradle.api.internal.file.DefaultFileOperations.javaexec(DefaultFi

leOperations.java:171)

        at org.gradle.api.internal.project.AbstractProject.javaexec(AbstractProj

ect.java:871)

        at net.minecraftforge.gradle.tasks.DecompileTask.decompile(DecompileTask

.java:107)

        at net.minecraftforge.gradle.tasks.DecompileTask.doMCPStuff(DecompileTas

k.java:83)

        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)

        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskF

actory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:219)

        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskF

actory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:212)

        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskF

actory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:201)

        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(Abstra

ctTask.java:533)

        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(Abstra

ctTask.java:516)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex

ecuteAction(ExecuteActionsTaskExecuter.java:80)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex

ecuteActions(ExecuteActionsTaskExecuter.java:61)

        ... 52 more

 

Is there anything I obviously did wrong?

Link to comment
Share on other sites

From your pastbin:

1754.13:31:29.517 [DEBUG] [org.gradle.api.Project] Error occurred during initialization of VM

1755.Could not reserve enough space for object heap

1756.

1757.13:31:29.520 [ERROR] [system.err] Error: Could not create the Java Virtual Machine.

1758.13:31:29.547 [ERROR] [system.err] Error: A fatal exception has occurred. Program will exit.

 

It seems that heap space is a problem for quite a few people, as far as I can see. I think there was another topic or two where this specific issue is discussed and possibly resolved. I think it had to do with giving gradle more heap space - On a 32-bit machine, I dunno how much is possible - for the decompile.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.