Git Product home page Git Product logo

Comments (4)

pron avatar pron commented on August 22, 2024

This is probably an easy fix, but I wonder what makes it happen in your setup.

The thing that immediately jumps out at me is that you're running Java in client mode ("Client VM") rather than Server VM. A quick search has shown that on windows, the JRE only supports the client mode. If this is the cause and you'd like to give it a try, please download the JDK.

In any case, we'll fix that (requires different array base offset values for long arrays)

from quasar.

asgeirn avatar asgeirn commented on August 22, 2024

I've got both the JDK and the JVM installed (and even a 64-bit JVM), so the tricky thing is to get Gradle to use the correct JVM. Any hints as to how? (I'm a Gradle novice).

from quasar.

pron avatar pron commented on August 22, 2024

Can you set the JAVA_HOME environment variable to point to the JDK directory? I think that should do it. Alternatively, put the JDK's bin directory on your path rather than the JRE's.

from quasar.

asgeirn avatar asgeirn commented on August 22, 2024

This bit worked:

tasks.withType(JavaExec) {
    executable 'c:/Program Files/Java/jre7/bin/java'
    jvmArgs '-d64'
    jvmArgs '-server'
    jvmArgs '-showversion'

from quasar.

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.