Giter Site home page Giter Site logo

Comments (4)

jasobrown avatar jasobrown commented on September 27, 2024

According to this post,
http://forums.gradle.org/gradle/topics/compilation_failing_with_npe, looks
like you need to install java JDK (dev kit), rather than just the JRE
(runtime env).

Hope this helps.

On Thu, Sep 20, 2012 at 10:01 AM, jbiel [email protected] wrote:

Hello,

I'm attempting to build the master branch using Ubuntu 12.04 x64/OpenJDK7
and I'm receiving a NullPointerException. I've tried OpenJDK6 as well and
gotten the same error. Can anyone point me in the right direction?

Thanks

Full debug trace here:
http://filebin.ca/GNWqW8GXWAv/output.txt

16:13:59.468 [ERROR] [org.gradle.BuildExceptionReporter] >
java.lang.NullPointerException (no error message)
java -version

java version "1.7.0_07"
OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.3.2-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)


Reply to this email directly or view it on GitHubhttps://github.com//issues/71.

from priam.

jbiel avatar jbiel commented on September 27, 2024

Awesome - that did the trick. For reference, I had to run "apt-get install openjdk-7-jdk". I also had to do a few things to make the build tests happy:

ln -s /bin/false /usr/bin/false #The build tests reference /usr/bin/false, which doesn't exist on my system
ln -s /bin/true /bin/teststopscript #Not sure what "teststopscript" is, but this made the tests pass

Thanks for your help!

from priam.

michaelhood avatar michaelhood commented on September 27, 2024

This isn't limited to OpenJDK, I got the same error running Sun 1.6.0_33 JRE. Installing JDK fixed it.

Thanks @jasobrown.

from priam.

sihaizhida avatar sihaizhida commented on September 27, 2024

Hello,everyone!
I’m trying to run Priam under Ubuntu14.04 x64, but I'm not familiar with the AWS environment setup as the WIKI setup demands, could anyone tell how to do that? Thank you!

from priam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.