Giter Club home page Giter Club logo

Comments (8)

brianmurph avatar brianmurph commented on August 18, 2024

Screenshot from 2021-10-11 15-56-18
Screenshot from 2021-10-11 16-13-24

Here are 2 screenshots describing the issue with the UDF compilations (both on different Windows installs), one 32 bit and the other 64 bit.

from sfquickstarts.

sfc-gh-jwest avatar sfc-gh-jwest commented on August 18, 2024

@brianmurph what do you get returned, when you run: java --version?

from sfquickstarts.

brianmurph avatar brianmurph commented on August 18, 2024

Hi Jason, thanks for getting back to me.

I have attached some of the Java environment information (including the version).

Java_Properties
Java_Arguments
Java_Version
Java_Home

from sfquickstarts.

sfc-gh-jwest avatar sfc-gh-jwest commented on August 18, 2024

@brianmurph try moving the java_home/bin to the front of your path. Also try entering the full path (in quotes or with \ to escape the spaces) to the front of your PATH and drop the %java_home%

from sfquickstarts.

brianmurph avatar brianmurph commented on August 18, 2024

Hi Jason,

I will uninstall the JDK and try installing to another directory (ie. Java_SDK), so there are no blank spaces in the Path or JAVA_HOME. Thanks for the tip.

I will update you on the outcome.

from sfquickstarts.

brianmurph avatar brianmurph commented on August 18, 2024

Hi Jason,

After trying many combinations of Windows PATH and JAVA_HOME, I gave up on that idea.

I exported the JAVA_HOME (i.e. export JAVA_HOME=/c/Java_JDK) and the PATH (i.e. PATH=$JAVA_HOME/bin:$PATH) in MINGW64 and that worked. In the interim I also upgraded to Java 1.8.0_311, which also worked fine.

I now have a .bashrc with these settings and am happy with that (I really should have remembered my Linux training).

Anyway, thanks for your assistance - I can now compile the UDFs.

from sfquickstarts.

brianmurph avatar brianmurph commented on August 18, 2024

Hi Jason,

I went back to my original setup and the same works here.

Java_Home_Path

from sfquickstarts.

sfc-gh-jwest avatar sfc-gh-jwest commented on August 18, 2024

Awesome!

from sfquickstarts.

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.