Open mstoth opened 8 years ago
Does Jython work in Java 8 on Macs yet? I've been staying at Java 1.6 because I knew that there were problems with Java 7.
I don't know what works with what. I downloaded and installed Java 6 from apple support but the problem still exists. Perhaps I need to tell the system which java to use but I don't know how to do that on the Apple. It will be hard for me to get the students to be able to install it seems since I can't. Any other ideas? -Michael
-------- Original Message -------- Subject: Re: [jes] running JES 5.0 on Apple Yosemite (#92) From: mjguzdial notifications@github.com Date: Mon, November 09, 2015 9:45 am To: gatech-csl/jes jes@noreply.github.com Cc: Michael Toth michael@virtualpianist.com
Does Jython work in Java 8 on Macs yet? I've been staying at Java 1.6 because I knew that there were problems with Java 7. - Mark —Reply to this email directly or view it on GitHub.
Sorry for the difficulty! There used to be a Java Preferences pane in System Preferences, but it looks like Apple removed that.
There are Java changers for Mac OS X:
I have to figure out a longterm strategy here. Talking to folks at Oracle and reading the blogosphere (e.g., https://adtmag.com/blogs/watersworks/2015/09/oracle-evangelists.aspx), it looks like Java is getting less support from Oracle and is going to be less of a cross-platform solution. That means that a Jython-based MediaComp may not continue to work for much longer.
Henry Rachootin took another run at creating a C-Python version of media.py. It's still not possible to manipulate pixels and samples cross-platform in C-Python. https://github.com/sportsracer48/mediapy
I'm successfully getting MediaComp examples working in GP (http://www.scratch2015ams.org/gp-a-scratch-like-language-for-applications/). The future may be in blocks for Media Computation.
I'm having a similar problem on a fresh install here; the initial problem is that 'readlink -f' is not valid on OS X : https://github.com/gatech-csl/jes/blob/master/jes.sh#L6 -- that line fails, doesn't even get to a point where it interacts with java or jython.
Interesting! I'm running Yosemite, and readlink appears in /usr/bin/readlink, but maybe I got that from something else I've installed.
Others are reporting similar issues about readlink, and offers some workarounds: http://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnus-readlink-f-on-a-mac
I'll look into fixes that we can implement in JES -- thanks for the report!
From: Will Coleda notifications@github.com Sent: Wednesday, December 21, 2016 6:54 PM To: gatech-csl/jes Cc: Guzdial, Mark; Comment Subject: Re: [gatech-csl/jes] running JES 5.0 on Apple Yosemite (#92)
I'm having a similar problem on a fresh install here; the initial problem is that 'readlink -f' is not valid on OS X : https://github.com/gatech-csl/jes/blob/master/jes.sh#L6 -- that line fails, doesn't even get to a point where it interacts with java or jython.
- You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/gatech-csl/jes/issues/92#issuecomment-268677826, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AELfpoqvwurOUUecGQZLJDGYOHipen_Gks5rKbw1gaJpZM4GemcU.
I downloaded the git repository for JES version 5 and can not build. I get the following errors. I'm on Mac OS-X 10.10.5 (Yosemite), Java 8 Update 65, and Apache Ant(TM) version 1.9.6. Running ant build and ant test produces the following:
test: [exec] readlink: illegal option -- f [exec] usage: readlink [-n] [file ...] [exec] usage: dirname path [exec] Error: Could not find or load main class JESstartup [exec] Result: 1
I get the same error when trying to run jes.sh
errors that appear from the build follow:
[javadoc] /Users/michaeltoth/src/jes/jes/java/HighlightingStyledDocument.java:90: error: bad use of '>' [javadoc] /Users/michaeltoth/src/jes/jes/java/JavaMusic.java:54: error: bad use of '>' [javadoc] /Users/michaeltoth/src/jes/jes/java/JavaMusic.java:68: error: bad use of '>' [javadoc] /Users/michaeltoth/src/jes/jes/java/JpegImagesToMovie.java:48: error: unknown tag: String [javadoc] /Users/michaeltoth/src/jes/jes/java/Playback.java:83: error: reference not found [javadoc] /Users/michaeltoth/src/jes/jes/java/SimpleSound.java:15: error: bad HTML entity [javadoc] /Users/michaeltoth/src/jes/jes/java/ThreadCheckingRepaintManager.java:45: error: self-closing element not allowed