Installation issue

(Igor Meltser) #1


I am trying to install gradle on openSuse. I followed the instructions, unzip, added bin folder to path, but when I run gradle I get:

:~> gradle

FAILURE: Build aborted because of an internal error.

  • What went wrong: Build aborted because of an unexpected internal error. Please file an issue at:

  • Try:

Run with --debug option to get additional debug info.

  • Exception is: net.rubygrapefruit.platform.NativeException: Could not open terminal for stdout: could not get termcap entry

at net.rubygrapefruit.platform.internal.TerminfoTerminal.init(

at net.rubygrapefruit.platform.internal.WrapperTerminal.init(

at net.rubygrapefruit.platform.internal.AbstractTerminals.getTerminal(

at org.gradle.internal.nativeplatform.console.NativePlatformConsoleDetector.getConsole(

at org.gradle.logging.internal.ConsoleConfigureAction.execute(

at org.gradle.logging.internal.ConsoleConfigureAction.execute(

at org.gradle.logging.internal.OutputEventRenderer.attachConsole(

at org.gradle.logging.internal.DefaultLoggingManager.attachConsole(

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

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

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

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

at org.gradle.launcher.Main.doAction(


at org.gradle.launcher.Main.main(

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(

at sun.reflect.DelegatingMethodAccessorImpl.invoke(

at java.lang.reflect.Method.invoke(

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


at org.gradle.launcher.GradleMain.main(

Any advice?

(Luke Daley) #2

This looks like a bug in the native capability detection. I’ve raised GRADLE-2782.

In the meantime, you can try disabling it by setting the env var ‘GRADLE_OPTS’:

export GRADLE_OPTS=-Dorg.gradle.native=false

(Igor Meltser) #3

Thanks, it worked.

(Adam Murdoch) #4

Can you provide the output of ‘gradle -v’?

(Igor Meltser) #5

------------------------------------------------------------ Gradle 1.6 ------------------------------------------------------------

Gradle build time: Tuesday, May 7, 2013 9:12:14 AM UTC Groovy: 1.8.6 Ant: Apache Ant™ version 1.8.4 compiled on May 22 2012 Ivy: 2.2.0 JVM: 1.7.0_17 (Oracle Corporation 23.7-b01) OS: Linux 3.4.63-2.44-desktop amd64

(Adam Murdoch) #6

Thanks. What’s your $TERM environment variable set to?

(Igor Meltser) #7