Giter Club home page Giter Club logo

Comments (6)

lojjic avatar lojjic commented on June 16, 2024

Can you please provide some details about your environment:

  • OS and version
  • JDK version
  • Ant version

from pie.

vanntastic avatar vanntastic commented on June 16, 2024

Yes, here it is:

  • OSX 10.5.8
  • java version "1.5.0_24"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_24-b02-357-9M3165)
    Java HotSpot(TM) Client VM (build 1.5.0_24-149, mixed mode, sharing)
  • Apache Ant version 1.7.0 compiled on May 21 2009

Let me know if you need more info.

Thanks,

  • Vann

from pie.

lojjic avatar lojjic commented on June 16, 2024

Ah, there it is. Java 6 is required for Google's Closure Compiler to function.

Here's a tip on how to change the Java version on OSX 10.5.8: http://www.deliciouscoding.com/post.cfm?entry=change-default-leopard-java-jdk-1-5-to-1-6-the-easy-way -- search around for plenty of other instructions if that doesn't do it.

I'm closing this ticket, feel free to reopen if you continue to encounter problems. Thanks!

from pie.

vanntastic avatar vanntastic commented on June 16, 2024

Thanks lojjic, I'll try that out and let you know if there are any issues.

from pie.

vanntastic avatar vanntastic commented on June 16, 2024

Sorry to keep bothering you, but I attempted to make that change and was introduced with another error:

 Error: JAVA_HOME is not defined correctly.
 We cannot execute /System/Library/Frameworks/JavaVM.framework/Home/bin/bin/java

I was wondering if maybe it might be easiest to include a build with the repo? Just an idea...

Thanks again,

  • Vann

from pie.

vanntastic avatar vanntastic commented on June 16, 2024

Never mind, fixed it! After those instructions, just add this to ~/.bash_login:

export JAVA_HOME='/System/Library/Frameworks/JavaVM.framework/Home'

and then reload with:

 . ~/.bash_login

from pie.

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.