ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Error while building rosjava_core (gradle wrapper)

asked 2012-10-22 05:03:30 -0600

safzam gravatar image

updated 2012-10-23 00:22:28 -0600

KruseT gravatar image

Hi all, I am trying to install rosjava_core on fuerte (ubuntu 12.04) using tutorial . I have followed the "Installing rosjava_core" sections. Now I am trying "building rosjava_core" and executing first step given "./gradlew install" . It creates a zip file (which I can see) but then I get error:

Unzipping /home/safdar/.gradle/wrapper/dists/gradle-1.0-milestone9-bin/7ilkmgo2rn79vvfvd51rqf17ks/ to /home/safdar/.gradle/wrapper/dists/gradle-1.0-milestone-9-bin/7ilkmgo2rn79vvfvd51rqf17ks
Exception in thread "main" error in opening zip file
at Method)
at org.gradle.wrapper.Install.unzip(
at org.gradle.wrapper.Install.createDist(
at org.gradle.wrapper.WrapperExecutor.execute(
at org.gradle.wrapper.GradleWrapperMain.main(

Any body who already has had such error? or how can I proceed further now? thanks in advance

edit retag flag offensive close merge delete


thanks.Now it proceeds but I get following error on ./gradlew test: Test org.ros.time.NtpTimeProviderTest FAILED 129 tests completed, 1 failure

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':rosjava:test'. Do I miss something?
safzam gravatar image safzam  ( 2012-10-23 01:29:56 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-23 00:23:17 -0600

KruseT gravatar image

It seems the zip download failed, delete the zip file and try again.

edit flag offensive delete link more


Hi Kruse! thanks,its installed. Now if I execute ../gradlew installApp it builds successfully but I dont see any bin directory because I dont get Talker running if I execute ./build/rosjava_tutorial_pubsub/bin/rosjava_tutorial_pubsub org.ros.rosjava_tutorial_pubsub.Talker Any clue to run Talker?

safzam gravatar image safzam  ( 2012-10-23 02:17:02 -0600 )edit

Question Tools


Asked: 2012-10-22 05:03:30 -0600

Seen: 1,071 times

Last updated: Oct 23 '12