I downloaded and extracted from the file drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open DrJava.app, it gives me the message in the title. I am running Mac OS X 10.9.3.
I had the same problem under OSX 10.9.4. I solved it by going into System Preferences/General and choosing "Anywhere" under "Allow apps downloaded from:"
It is a lousy error message!
Last edit: Scot Drysdale 2014-08-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
just wanted to add a quick note, I am running 10.10.2 (latest update) and this does work. Also, if you do want to change the setting back to what you had it on originally, you can. The application will still continue to run!
This post was extremely helpful, I prefer dr java over the others!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I no longer own any Macs either personally or in my research group at Rice
University; Apple dropped support for Java years ago (leaving Core Duo [32
bit] Mac users without a viable Java 6 implementation when Java 6 was
current) and has recently become hostile to open source applications in
general. My understanding from talking to Mac users and from briefly
experimenting with their machines is that Apple displays a fraudulent
message stating that any unlicensed app (licensing involves paying $ to
Apple) is damaged and either offers to move it to trash at the click of a
button or instructs the user to move the app to trash. If you manually
open the app by right clicking it, Mac OS X will run it and remember that
it should be opened like any other app.
Unfortunately, there is an added complication with Java apps. Oracle, who
supports Java 7 and 8 on the Mac platform, decided to use a different app
launcher than Apple Java. We have been bundling the DrJava app with the
Apple launcher since the inception of a Mac app for DrJava over a a decade
ago. But the Apple Java launcher does not work for Oracle Java
installations. If a Mac user has installed an Oracle Java 7 or 8 VM on
his/her machine, the DrJava Mac app will not work because it invokes the
Apple Java launcher rather than the Oracle Java launcher. In this case,
the only way to run DrJava is to download the jar version and run it from
the command line as Scott recommends. We are exploring bundling the DrJava
Mac App with the Oracle launcher instead of the Apple launcher now that
Java 7/8 is more popular than Java 6.
Best,
Robert "Corky" Cartwright
Professor of Computer Science
Rice University
just wanted to add a quick note, I am running 10.10.2 (latest update) and
this does work. Also, if you do want to change the setting back to what you
had it on originally, you can. The application will still continue to run!
This post was extremely helpful, I prefer dr java over the others!
Status: open Group: 4: Serious Labels: os x 10.9.3 os x Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift Last Updated: Wed Aug 13, 2014 05:06 PM UTC Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
I have no experience with Mac OS X 10.9 but I suspect that 10.9 users
typically install Oracle Java 7 instead of Apple Java 6. The DrJava app
works ONLY with Apple Java 6 (and even then you have to override the Mac
gatekeeper on recent versions of Mac OS X); Oracle uses a different app
launcher than Apple. As a result, Apple Java apps are completely
incompatible with Oracle Java apps. Our Mac app builder uses the Apple
launcher. On Macs with Oracle Java installed, the workaround is to use the
jar version of DrJava and invoke it from the command line just like Linux
users.
Java has a long tradition of backward compatibility but Mac Java apps do
not, which is one reason why I don't buy Macs anymore. The DrJava app
works well on my old Core Duo MacBook (running OS X 10.6.8).
I am planning to issue to a new release of DrJava that works with the Java
8 compiler (but does not support Java 8 syntax in the interactions pane).
I may omit the Mac app in the new release.
Scot: it is great to hear from you even if it is via a DrJava bug report!
Status: open Group: 4: Serious Labels: os x 10.9.3 os x Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift Last Updated: Thu Jun 05, 2014 09:43 PM UTC Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
I posted an update that explained how to get around the problem that we had - it was a problem with the permission to run an app from a non-trusted source. (The error message about a corrupted app is totally misleading.) I may still run into problems with some students' computers, though. I have Apple Java 6 installed as well as Oracle Java 7, I believe. I don't know what my students will have.
Great to hear from you! And thanks for following up quickly.
I have no experience with Mac OS X 10.9 but I suspect that 10.9 users
typically install Oracle Java 7 instead of Apple Java 6. The DrJava app
works ONLY with Apple Java 6 (and even then you have to override the Mac
gatekeeper on recent versions of Mac OS X); Oracle uses a different app
launcher than Apple. As a result, Apple Java apps are completely
incompatible with Oracle Java apps. Our Mac app builder uses the Apple
launcher. On Macs with Oracle Java installed, the workaround is to use the
jar version of DrJava and invoke it from the command line just like Linux
users.
Java has a long tradition of backward compatibility but Mac Java apps do
not, which is one reason why I don't buy Macs anymore. The DrJava app
works well on my old Core Duo MacBook (running OS X 10.6.8).
I am planning to issue to a new release of DrJava that works with the Java
8 compiler (but does not support Java 8 syntax in the interactions pane).
I may omit the Mac app in the new release.
Scot: it is great to hear from you even if it is via a DrJava bug report!
Best,
Corky
On Thu, Jun 5, 2014 at 4:44 PM, NobleUplift nobleuplift@users.sf.net
wrote:
[bugs:#947]http://sourceforge.net/p/drjava/bugs/947/ "DrJava.app" is
damaged and can't be opened. You should move it to the Trash.*
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Thu Jun 05, 2014 09:43 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
[bugs:#947] "DrJava.app" is damaged and can't be opened. You should move it to the Trash.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open DrJava.app, it gives me the message in the title. I am running Mac OS X 10.9.3.
I knew that original Mac OS X 10.8 gatekeeper issued false messages but I
was not aware of the behavior of the gatekeepr in updates to 10.8 or in OS
X 10.9. I don't understand why Apple decided to generate the false
messages, but I have a very low opinion of Apple the company (as opposed to
Apple software design which I like).
If installing Apple Java 6 in addition to Oracle Java 7 does not cause
problems elsewhere, I strongly recommend it. Let me know if this strategy
works with your students.
I am planning to extend DrJava to support Java 8 syntax in the interactions
pane as a project in my course on Production Programming this fall. I
think it also makes sense to create two Mac OS X apps: one for Apple 6 Java
and one for Oracle Java. When Java 6 becomes obsolete, it probably makes
sense to drop the Apple 6 Java app.
Please keep in touch. I really value your feedback and advice
I posted an update that explained how to get around the problem that we
had - it was a problem with the permission to run an app from a non-trusted
source. (The error message about a corrupted app is totally misleading.) I
may still run into problems with some students' computers, though. I have
Apple Java 6 installed as well as Oracle Java 7, I believe. I don't know
what my students will have.
Great to hear from you! And thanks for following up quickly.
Scot
On Aug 13, 2014, at 5:14 PM, Robert Cartwright rcartwright@users.sf.net
wrote:
Hi nobleuplift and Scot,
I have no experience with Mac OS X 10.9 but I suspect that 10.9 users
typically install Oracle Java 7 instead of Apple Java 6. The DrJava app
works ONLY with Apple Java 6 (and even then you have to override the Mac
gatekeeper on recent versions of Mac OS X); Oracle uses a different app
launcher than Apple. As a result, Apple Java apps are completely
incompatible with Oracle Java apps. Our Mac app builder uses the Apple
launcher. On Macs with Oracle Java installed, the workaround is to use the
jar version of DrJava and invoke it from the command line just like Linux
users.
Java has a long tradition of backward compatibility but Mac Java apps do
not, which is one reason why I don't buy Macs anymore. The DrJava app
works well on my old Core Duo MacBook (running OS X 10.6.8).
I am planning to issue to a new release of DrJava that works with the Java
8 compiler (but does not support Java 8 syntax in the interactions pane).
I may omit the Mac app in the new release.
Scot: it is great to hear from you even if it is via a DrJava bug report!
Best,
Corky
On Thu, Jun 5, 2014 at 4:44 PM, NobleUplift nobleuplift@users.sf.net
wrote:
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open Group: 4: Serious Labels: os x 10.9.3 os x Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift Last Updated: Wed Aug 13, 2014 05:06 PM UTC Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
I have the JavaSE-1.6 (and apparently JRE-1.1 and J2SE-1.2 through J2SE-1.5) on the computer because I have been updating it over the years and porting my system every time I got a new computer or OS. It does not seem to cause problems. However, I am not sure how to find and download 1.6 for new computers. I will ask around. Do you know anything about it?
I will also download and play with the .jar file. That may be the easier way to go for Mac students.
I knew that original Mac OS X 10.8 gatekeeper issued false messages but I
was not aware of the behavior of the gatekeepr in updates to 10.8 or in OS
X 10.9. I don't understand why Apple decided to generate the false
messages, but I have a very low opinion of Apple the company (as opposed to
Apple software design which I like).
If installing Apple Java 6 in addition to Oracle Java 7 does not cause
problems elsewhere, I strongly recommend it. Let me know if this strategy
works with your students.
I am planning to extend DrJava to support Java 8 syntax in the interactions
pane as a project in my course on Production Programming this fall. I
think it also makes sense to create two Mac OS X apps: one for Apple 6 Java
and one for Oracle Java. When Java 6 becomes obsolete, it probably makes
sense to drop the Apple 6 Java app.
Please keep in touch. I really value your feedback and advice
Best,
Corky
On Wed, Aug 13, 2014 at 10:16 PM, Scot Drysdale scotdrysdale@users.sf.net
wrote:
Corky,
I posted an update that explained how to get around the problem that we
had - it was a problem with the permission to run an app from a non-trusted
source. (The error message about a corrupted app is totally misleading.) I
may still run into problems with some students' computers, though. I have
Apple Java 6 installed as well as Oracle Java 7, I believe. I don't know
what my students will have.
Great to hear from you! And thanks for following up quickly.
Scot
On Aug 13, 2014, at 5:14 PM, Robert Cartwright rcartwright@users.sf.net
wrote:
Hi nobleuplift and Scot,
I have no experience with Mac OS X 10.9 but I suspect that 10.9 users
typically install Oracle Java 7 instead of Apple Java 6. The DrJava app
works ONLY with Apple Java 6 (and even then you have to override the Mac
gatekeeper on recent versions of Mac OS X); Oracle uses a different app
launcher than Apple. As a result, Apple Java apps are completely
incompatible with Oracle Java apps. Our Mac app builder uses the Apple
launcher. On Macs with Oracle Java installed, the workaround is to use the
jar version of DrJava and invoke it from the command line just like Linux
users.
Java has a long tradition of backward compatibility but Mac Java apps do
not, which is one reason why I don't buy Macs anymore. The DrJava app
works well on my old Core Duo MacBook (running OS X 10.6.8).
I am planning to issue to a new release of DrJava that works with the Java
8 compiler (but does not support Java 8 syntax in the interactions pane).
I may omit the Mac app in the new release.
Scot: it is great to hear from you even if it is via a DrJava bug report!
Best,
Corky
On Thu, Jun 5, 2014 at 4:44 PM, NobleUplift nobleuplift@users.sf.net
wrote:
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
[bugs:#947]http://sourceforge.net/p/drjava/bugs/947 "DrJava.app" is
damaged and can't be opened. You should move it to the Trash.*
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
[bugs:#947] "DrJava.app" is damaged and can't be opened. You should move it to the Trash.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open DrJava.app, it gives me the message in the title. I am running Mac OS X 10.9.3.
My recollection is that I used the Mac software update facility to download
Java 6 to my Core Duo MacBook several years ago. Apple's initial release
of Java 6 only targeted 64-bit Macs (e.g., Core 2 Duo and later) so I could
not run on my machines. I was forced to buy a conventional PC and shift my
Java software development to that platform (primarily Linux). On my Core
Duo MacBook, I could also run a flawed pre-release version of Java 6, which
unlike the subsequent official release, was a 32-bit implementation. Since
this release was incomplete and buggy (Apple did not even call it an
"alpha" version), I did not trust it for DrJava development even though
DrJava ran on this version of Java without an apparent problems. Apple
finally released an official 32-bit version of Java 6 much later (years?)
than the initial release.
So I would look for an Apple Java 6 download via the Mac software update
facility. When I get home, I will explore updating Apple Java 6 using this
facility on my old MacBook (running OS X 10.6.8, the last version of OS X
available for 32-bit processors) and report back.
I have the JavaSE-1.6 (and apparently JRE-1.1 and J2SE-1.2 through
J2SE-1.5) on the computer because I have been updating it over the years
and porting my system every time I got a new computer or OS. It does not
seem to cause problems. However, I am not sure how to find and download 1.6
for new computers. I will ask around. Do you know anything about it?
I will also download and play with the .jar file. That may be the easier
way to go for Mac students.
Scot
On Aug 14, 2014, at 10:22 AM, Robert Cartwright rcartwright@users.sf.net
wrote:
Hi Scot,
Thanks for the update!
I knew that original Mac OS X 10.8 gatekeeper issued false messages but I
was not aware of the behavior of the gatekeepr in updates to 10.8 or in OS
X 10.9. I don't understand why Apple decided to generate the false
messages, but I have a very low opinion of Apple the company (as opposed to
Apple software design which I like).
If installing Apple Java 6 in addition to Oracle Java 7 does not cause
problems elsewhere, I strongly recommend it. Let me know if this strategy
works with your students.
I am planning to extend DrJava to support Java 8 syntax in the interactions
pane as a project in my course on Production Programming this fall. I
think it also makes sense to create two Mac OS X apps: one for Apple 6 Java
and one for Oracle Java. When Java 6 becomes obsolete, it probably makes
sense to drop the Apple 6 Java app.
Please keep in touch. I really value your feedback and advice
Best,
Corky
On Wed, Aug 13, 2014 at 10:16 PM, Scot Drysdale scotdrysdale@users.sf.net
wrote:
Corky,
I posted an update that explained how to get around the problem that we
had - it was a problem with the permission to run an app from a non-trusted
source. (The error message about a corrupted app is totally misleading.) I
may still run into problems with some students' computers, though. I have
Apple Java 6 installed as well as Oracle Java 7, I believe. I don't know
what my students will have.
Great to hear from you! And thanks for following up quickly.
Scot
On Aug 13, 2014, at 5:14 PM, Robert Cartwright rcartwright@users.sf.net
wrote:
Hi nobleuplift and Scot,
I have no experience with Mac OS X 10.9 but I suspect that 10.9 users
typically install Oracle Java 7 instead of Apple Java 6. The DrJava app
works ONLY with Apple Java 6 (and even then you have to override the Mac
gatekeeper on recent versions of Mac OS X); Oracle uses a different app
launcher than Apple. As a result, Apple Java apps are completely
incompatible with Oracle Java apps. Our Mac app builder uses the Apple
launcher. On Macs with Oracle Java installed, the workaround is to use the
jar version of DrJava and invoke it from the command line just like Linux
users.
Java has a long tradition of backward compatibility but Mac Java apps do
not, which is one reason why I don't buy Macs anymore. The DrJava app
works well on my old Core Duo MacBook (running OS X 10.6.8).
I am planning to issue to a new release of DrJava that works with the Java
8 compiler (but does not support Java 8 syntax in the interactions pane).
I may omit the Mac app in the new release.
Scot: it is great to hear from you even if it is via a DrJava bug report!
Best,
Corky
On Thu, Jun 5, 2014 at 4:44 PM, NobleUplift nobleuplift@users.sf.net
wrote:
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
damaged and can't be opened. You should move it to the Trash.*
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open Group: 4: Serious Labels: os x 10.9.3 os x Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift Last Updated: Wed Aug 13, 2014 05:06 PM UTC Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Downloading the .jar file and double-clicking seems to open DrJava with Java 7. (After overriding the protection against running apps from unknown sources, of course.) That may be the simplest way to go. It avoids opening a terminal window and typing "java -jar", which is minor but significant for inexperienced users. Double-clicking on a .jar file and clicking on an application seem equally easy, so I am thinking of going with that for Mac users.
My recollection is that I used the Mac software update facility to download
Java 6 to my Core Duo MacBook several years ago. Apple's initial release
of Java 6 only targeted 64-bit Macs (e.g., Core 2 Duo and later) so I could
not run on my machines. I was forced to buy a conventional PC and shift my
Java software development to that platform (primarily Linux). On my Core
Duo MacBook, I could also run a flawed pre-release version of Java 6, which
unlike the subsequent official release, was a 32-bit implementation. Since
this release was incomplete and buggy (Apple did not even call it an
"alpha" version), I did not trust it for DrJava development even though
DrJava ran on this version of Java without an apparent problems. Apple
finally released an official 32-bit version of Java 6 much later (years?)
than the initial release.
So I would look for an Apple Java 6 download via the Mac software update
facility. When I get home, I will explore updating Apple Java 6 using this
facility on my old MacBook (running OS X 10.6.8, the last version of OS X
available for 32-bit processors) and report back.
Best,
Corky
On Thu, Aug 14, 2014 at 9:37 AM, Scot Drysdale scotdrysdale@users.sf.net
wrote:
I have the JavaSE-1.6 (and apparently JRE-1.1 and J2SE-1.2 through
J2SE-1.5) on the computer because I have been updating it over the years
and porting my system every time I got a new computer or OS. It does not
seem to cause problems. However, I am not sure how to find and download 1.6
for new computers. I will ask around. Do you know anything about it?
I will also download and play with the .jar file. That may be the easier
way to go for Mac students.
Scot
On Aug 14, 2014, at 10:22 AM, Robert Cartwright rcartwright@users.sf.net
wrote:
Hi Scot,
Thanks for the update!
I knew that original Mac OS X 10.8 gatekeeper issued false messages but I
was not aware of the behavior of the gatekeepr in updates to 10.8 or in OS
X 10.9. I don't understand why Apple decided to generate the false
messages, but I have a very low opinion of Apple the company (as opposed to
Apple software design which I like).
If installing Apple Java 6 in addition to Oracle Java 7 does not cause
problems elsewhere, I strongly recommend it. Let me know if this strategy
works with your students.
I am planning to extend DrJava to support Java 8 syntax in the interactions
pane as a project in my course on Production Programming this fall. I
think it also makes sense to create two Mac OS X apps: one for Apple 6 Java
and one for Oracle Java. When Java 6 becomes obsolete, it probably makes
sense to drop the Apple 6 Java app.
Please keep in touch. I really value your feedback and advice
Best,
Corky
On Wed, Aug 13, 2014 at 10:16 PM, Scot Drysdale scotdrysdale@users.sf.net
wrote:
Corky,
I posted an update that explained how to get around the problem that we
had - it was a problem with the permission to run an app from a non-trusted
source. (The error message about a corrupted app is totally misleading.) I
may still run into problems with some students' computers, though. I have
Apple Java 6 installed as well as Oracle Java 7, I believe. I don't know
what my students will have.
Great to hear from you! And thanks for following up quickly.
Scot
On Aug 13, 2014, at 5:14 PM, Robert Cartwright rcartwright@users.sf.net
wrote:
Hi nobleuplift and Scot,
I have no experience with Mac OS X 10.9 but I suspect that 10.9 users
typically install Oracle Java 7 instead of Apple Java 6. The DrJava app
works ONLY with Apple Java 6 (and even then you have to override the Mac
gatekeeper on recent versions of Mac OS X); Oracle uses a different app
launcher than Apple. As a result, Apple Java apps are completely
incompatible with Oracle Java apps. Our Mac app builder uses the Apple
launcher. On Macs with Oracle Java installed, the workaround is to use the
jar version of DrJava and invoke it from the command line just like Linux
users.
Java has a long tradition of backward compatibility but Mac Java apps do
not, which is one reason why I don't buy Macs anymore. The DrJava app
works well on my old Core Duo MacBook (running OS X 10.6.8).
I am planning to issue to a new release of DrJava that works with the Java
8 compiler (but does not support Java 8 syntax in the interactions pane).
I may omit the Mac app in the new release.
Scot: it is great to hear from you even if it is via a DrJava bug report!
Best,
Corky
On Thu, Jun 5, 2014 at 4:44 PM, NobleUplift nobleuplift@users.sf.net
wrote:
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
damaged and can't be opened. You should move it to the Trash.*
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
[bugs:#947]http://sourceforge.net/p/drjava/bugs/947 "DrJava.app" is
damaged and can't be opened. You should move it to the Trash.*
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
[bugs:#947] "DrJava.app" is damaged and can't be opened. You should move it to the Trash.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open DrJava.app, it gives me the message in the title. I am running Mac OS X 10.9.3.
My only concern with double clicking the jar file is that installing
another app that relies on the file extension ".jar" could change the
behavior associated with the ".jar" extension. I know that this is an
issue in Windows. Typically reinstalling Java fixes the problem in Windows
("he who modifies the Registry last, wins") but I don't have any comparable
experience directly executing ".jar" files in Mac OS X.
Downloading the .jar file and double-clicking seems to open DrJava with
Java 7. (After overriding the protection against running apps from unknown
sources, of course.) That may be the simplest way to go. It avoids opening
a terminal window and typing "java -jar", which is minor but significant
for inexperienced users. Double-clicking on a .jar file and clicking on an
application seem equally easy, so I am thinking of going with that for Mac
users.
Scot
On Aug 15, 2014, at 12:07 PM, Robert Cartwright rcartwright@users.sf.net
wrote:
Hi Scot,
My recollection is that I used the Mac software update facility to download
Java 6 to my Core Duo MacBook several years ago. Apple's initial release
of Java 6 only targeted 64-bit Macs (e.g., Core 2 Duo and later) so I could
not run on my machines. I was forced to buy a conventional PC and shift my
Java software development to that platform (primarily Linux). On my Core
Duo MacBook, I could also run a flawed pre-release version of Java 6, which
unlike the subsequent official release, was a 32-bit implementation. Since
this release was incomplete and buggy (Apple did not even call it an
"alpha" version), I did not trust it for DrJava development even though
DrJava ran on this version of Java without an apparent problems. Apple
finally released an official 32-bit version of Java 6 much later (years?)
than the initial release.
So I would look for an Apple Java 6 download via the Mac software update
facility. When I get home, I will explore updating Apple Java 6 using this
facility on my old MacBook (running OS X 10.6.8, the last version of OS X
available for 32-bit processors) and report back.
Best,
Corky
On Thu, Aug 14, 2014 at 9:37 AM, Scot Drysdale scotdrysdale@users.sf.net
wrote:
I have the JavaSE-1.6 (and apparently JRE-1.1 and J2SE-1.2 through
J2SE-1.5) on the computer because I have been updating it over the years
and porting my system every time I got a new computer or OS. It does not
seem to cause problems. However, I am not sure how to find and download 1.6
for new computers. I will ask around. Do you know anything about it?
I will also download and play with the .jar file. That may be the easier
way to go for Mac students.
Scot
On Aug 14, 2014, at 10:22 AM, Robert Cartwright rcartwright@users.sf.net
wrote:
Hi Scot,
Thanks for the update!
I knew that original Mac OS X 10.8 gatekeeper issued false messages but I
was not aware of the behavior of the gatekeepr in updates to 10.8 or in OS
X 10.9. I don't understand why Apple decided to generate the false
messages, but I have a very low opinion of Apple the company (as opposed to
Apple software design which I like).
If installing Apple Java 6 in addition to Oracle Java 7 does not cause
problems elsewhere, I strongly recommend it. Let me know if this strategy
works with your students.
I am planning to extend DrJava to support Java 8 syntax in the interactions
pane as a project in my course on Production Programming this fall. I
think it also makes sense to create two Mac OS X apps: one for Apple 6 Java
and one for Oracle Java. When Java 6 becomes obsolete, it probably makes
sense to drop the Apple 6 Java app.
Please keep in touch. I really value your feedback and advice
Best,
Corky
On Wed, Aug 13, 2014 at 10:16 PM, Scot Drysdale scotdrysdale@users.sf.net
wrote:
Corky,
I posted an update that explained how to get around the problem that we
had - it was a problem with the permission to run an app from a non-trusted
source. (The error message about a corrupted app is totally misleading.) I
may still run into problems with some students' computers, though. I have
Apple Java 6 installed as well as Oracle Java 7, I believe. I don't know
what my students will have.
Great to hear from you! And thanks for following up quickly.
Scot
On Aug 13, 2014, at 5:14 PM, Robert Cartwright rcartwright@users.sf.net
wrote:
Hi nobleuplift and Scot,
I have no experience with Mac OS X 10.9 but I suspect that 10.9 users
typically install Oracle Java 7 instead of Apple Java 6. The DrJava app
works ONLY with Apple Java 6 (and even then you have to override the Mac
gatekeeper on recent versions of Mac OS X); Oracle uses a different app
launcher than Apple. As a result, Apple Java apps are completely
incompatible with Oracle Java apps. Our Mac app builder uses the Apple
launcher. On Macs with Oracle Java installed, the workaround is to use the
jar version of DrJava and invoke it from the command line just like Linux
users.
Java has a long tradition of backward compatibility but Mac Java apps do
not, which is one reason why I don't buy Macs anymore. The DrJava app
works well on my old Core Duo MacBook (running OS X 10.6.8).
I am planning to issue to a new release of DrJava that works with the Java
8 compiler (but does not support Java 8 syntax in the interactions pane).
I may omit the Mac app in the new release.
Scot: it is great to hear from you even if it is via a DrJava bug report!
Best,
Corky
On Thu, Jun 5, 2014 at 4:44 PM, NobleUplift nobleuplift@users.sf.net
wrote:
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
damaged and can't be opened. You should move it to the Trash.*
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
damaged and can't be opened. You should move it to the Trash.*
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open Group: 4: Serious Labels: os x 10.9.3 os x Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift Last Updated: Wed Aug 13, 2014 05:06 PM UTC Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
My only concern with double clicking the jar file is that installing
another app that relies on the file extension ".jar" could change the
behavior associated with the ".jar" extension. I know that this is an
issue in Windows. Typically reinstalling Java fixes the problem in Windows
("he who modifies the Registry last, wins") but I don't have any comparable
experience directly executing ".jar" files in Mac OS X.
Best,
Corky
On Fri, Aug 15, 2014 at 11:16 AM, Scot Drysdale scotdrysdale@users.sf.net
wrote:
Downloading the .jar file and double-clicking seems to open DrJava with
Java 7. (After overriding the protection against running apps from unknown
sources, of course.) That may be the simplest way to go. It avoids opening
a terminal window and typing "java -jar", which is minor but significant
for inexperienced users. Double-clicking on a .jar file and clicking on an
application seem equally easy, so I am thinking of going with that for Mac
users.
Scot
On Aug 15, 2014, at 12:07 PM, Robert Cartwright rcartwright@users.sf.net
wrote:
Hi Scot,
My recollection is that I used the Mac software update facility to download
Java 6 to my Core Duo MacBook several years ago. Apple's initial release
of Java 6 only targeted 64-bit Macs (e.g., Core 2 Duo and later) so I could
not run on my machines. I was forced to buy a conventional PC and shift my
Java software development to that platform (primarily Linux). On my Core
Duo MacBook, I could also run a flawed pre-release version of Java 6, which
unlike the subsequent official release, was a 32-bit implementation. Since
this release was incomplete and buggy (Apple did not even call it an
"alpha" version), I did not trust it for DrJava development even though
DrJava ran on this version of Java without an apparent problems. Apple
finally released an official 32-bit version of Java 6 much later (years?)
than the initial release.
So I would look for an Apple Java 6 download via the Mac software update
facility. When I get home, I will explore updating Apple Java 6 using this
facility on my old MacBook (running OS X 10.6.8, the last version of OS X
available for 32-bit processors) and report back.
Best,
Corky
On Thu, Aug 14, 2014 at 9:37 AM, Scot Drysdale scotdrysdale@users.sf.net
wrote:
I have the JavaSE-1.6 (and apparently JRE-1.1 and J2SE-1.2 through
J2SE-1.5) on the computer because I have been updating it over the years
and porting my system every time I got a new computer or OS. It does not
seem to cause problems. However, I am not sure how to find and download 1.6
for new computers. I will ask around. Do you know anything about it?
I will also download and play with the .jar file. That may be the easier
way to go for Mac students.
Scot
On Aug 14, 2014, at 10:22 AM, Robert Cartwright rcartwright@users.sf.net
wrote:
Hi Scot,
Thanks for the update!
I knew that original Mac OS X 10.8 gatekeeper issued false messages but I
was not aware of the behavior of the gatekeepr in updates to 10.8 or in OS
X 10.9. I don't understand why Apple decided to generate the false
messages, but I have a very low opinion of Apple the company (as opposed to
Apple software design which I like).
If installing Apple Java 6 in addition to Oracle Java 7 does not cause
problems elsewhere, I strongly recommend it. Let me know if this strategy
works with your students.
I am planning to extend DrJava to support Java 8 syntax in the interactions
pane as a project in my course on Production Programming this fall. I
think it also makes sense to create two Mac OS X apps: one for Apple 6 Java
and one for Oracle Java. When Java 6 becomes obsolete, it probably makes
sense to drop the Apple 6 Java app.
Please keep in touch. I really value your feedback and advice
Best,
Corky
On Wed, Aug 13, 2014 at 10:16 PM, Scot Drysdale scotdrysdale@users.sf.net
wrote:
Corky,
I posted an update that explained how to get around the problem that we
had - it was a problem with the permission to run an app from a non-trusted
source. (The error message about a corrupted app is totally misleading.) I
may still run into problems with some students' computers, though. I have
Apple Java 6 installed as well as Oracle Java 7, I believe. I don't know
what my students will have.
Great to hear from you! And thanks for following up quickly.
Scot
On Aug 13, 2014, at 5:14 PM, Robert Cartwright rcartwright@users.sf.net
wrote:
Hi nobleuplift and Scot,
I have no experience with Mac OS X 10.9 but I suspect that 10.9 users
typically install Oracle Java 7 instead of Apple Java 6. The DrJava app
works ONLY with Apple Java 6 (and even then you have to override the Mac
gatekeeper on recent versions of Mac OS X); Oracle uses a different app
launcher than Apple. As a result, Apple Java apps are completely
incompatible with Oracle Java apps. Our Mac app builder uses the Apple
launcher. On Macs with Oracle Java installed, the workaround is to use the
jar version of DrJava and invoke it from the command line just like Linux
users.
Java has a long tradition of backward compatibility but Mac Java apps do
not, which is one reason why I don't buy Macs anymore. The DrJava app
works well on my old Core Duo MacBook (running OS X 10.6.8).
I am planning to issue to a new release of DrJava that works with the Java
8 compiler (but does not support Java 8 syntax in the interactions pane).
I may omit the Mac app in the new release.
Scot: it is great to hear from you even if it is via a DrJava bug report!
Best,
Corky
On Thu, Jun 5, 2014 at 4:44 PM, NobleUplift nobleuplift@users.sf.net
wrote:
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
damaged and can't be opened. You should move it to the Trash.*
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
damaged and can't be opened. You should move it to the Trash.*
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
[bugs:#947]http://sourceforge.net/p/drjava/bugs/947 "DrJava.app" is
damaged and can't be opened. You should move it to the Trash.*
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file
drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open
DrJava.app, it gives me the message in the title. I am running Mac OS X
10.9.3.
[bugs:#947] "DrJava.app" is damaged and can't be opened. You should move it to the Trash.
Status: open
Group: 4: Serious
Labels: os x 10.9.3 os x
Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift
Last Updated: Wed Aug 13, 2014 05:06 PM UTC
Owner: nobody
I downloaded and extracted from the file drjava-stable-20130901-r5756-osx.tar.gz DrJava.app. When I try to open DrJava.app, it gives me the message in the title. I am running Mac OS X 10.9.3.
I have found a solution! I am running Mac OS X 10.12.6. The problem is that Apple reaaally doesn't want us to be downloading things that aren't from the apple store, and the new updates of the Mac have gotten rid of the "Allow Downloads from: Anywhere" setting in system preferences, so what I had to do instead was force the Mac to allow that setting by typing "sudo spctl --master-disable" into Terminal. You are then able to go into System Preferences>Security and Privacy and then click Anywhere. Good luck!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am skeptical that this will work because we are using a very old package
to generate Java apps for the Mac; the package dates from the era when
Apple supported Java. When Oracle took over Java on the Mac (as of Java
7), they decided to use a different app launcher for Java jar files. I
don't know any of the details about the structure of Mac apps or the
protocol for launching them so it is conceivable that the old launcher
works for Java 8 (I recall it failing for Java 7). My recommendation is to
simply download the raw DrJava jar file (as on other Unix systems) and run
it by double-clicking on the jar file icon. Mac OS X initially chokes
(refuses to run the jar file) but I think it provides an informative
message on how to force Mac OS X to run the jar file by visiting the
Security Center and explicitly authorizing the execution of the DrJava jar
file. Even in the absence of such a message, you can go to the Security
Center (after trying to run it and failing) and authorize its execution.
After than, double clicking non the jar file simply works. I went through
this process on the MacBook in my office which I rarely use. Like most
software developers, I am very partial to Linux.
I have found a solution! I am running Mac OS X 10.12.6. The problem is
that Apple reaaally doesn't want us to be downloading things that aren't
from the apple store, and the new updates of the Mac have gotten rid of the "Allow
Downloads from: Anywhere" setting in system preferences, so what I had
to do instead was force the Mac to allow that setting by typing "sudo
spctl --master-disable" into Terminal. You are then able to go into
System Preferences>Security and Privacy and then click Anywhere. Good luck!
Status: open Group: 4: Serious Labels: os x 10.9.3 os x Created: Thu Jun 05, 2014 09:43 PM UTC by NobleUplift Last Updated: Wed Aug 13, 2014 05:06 PM UTC Owner: nobody
I downloaded and extracted from the file drjava-stable-20130901-r5756-osx.tar.gz
DrJava.app. When I try to open DrJava.app, it gives me the message in the
title. I am running Mac OS X 10.9.3.
Oh, you're right, I had thought it worked, but I hadn't checked if it had actually pulled up. Sorry! I downloaded the jar and updated my java and now it works. Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had the same problem under OSX 10.9.4. I solved it by going into System Preferences/General and choosing "Anywhere" under "Allow apps downloaded from:"
It is a lousy error message!
Last edit: Scot Drysdale 2014-08-13
just wanted to add a quick note, I am running 10.10.2 (latest update) and this does work. Also, if you do want to change the setting back to what you had it on originally, you can. The application will still continue to run!
This post was extremely helpful, I prefer dr java over the others!
I no longer own any Macs either personally or in my research group at Rice
University; Apple dropped support for Java years ago (leaving Core Duo [32
bit] Mac users without a viable Java 6 implementation when Java 6 was
current) and has recently become hostile to open source applications in
general. My understanding from talking to Mac users and from briefly
experimenting with their machines is that Apple displays a fraudulent
message stating that any unlicensed app (licensing involves paying $ to
Apple) is damaged and either offers to move it to trash at the click of a
button or instructs the user to move the app to trash. If you manually
open the app by right clicking it, Mac OS X will run it and remember that
it should be opened like any other app.
Unfortunately, there is an added complication with Java apps. Oracle, who
supports Java 7 and 8 on the Mac platform, decided to use a different app
launcher than Apple Java. We have been bundling the DrJava app with the
Apple launcher since the inception of a Mac app for DrJava over a a decade
ago. But the Apple Java launcher does not work for Oracle Java
installations. If a Mac user has installed an Oracle Java 7 or 8 VM on
his/her machine, the DrJava Mac app will not work because it invokes the
Apple Java launcher rather than the Oracle Java launcher. In this case,
the only way to run DrJava is to download the jar version and run it from
the command line as Scott recommends. We are exploring bundling the DrJava
Mac App with the Oracle launcher instead of the Apple launcher now that
Java 7/8 is more popular than Java 6.
Best,
Robert "Corky" Cartwright
Professor of Computer Science
Rice University
On Wed, Jan 28, 2015 at 5:17 PM, Vincent Vasquez vthreee@users.sf.net
wrote:
Related
Bugs: #947
Hi nobleuplift and Scot,
I have no experience with Mac OS X 10.9 but I suspect that 10.9 users
typically install Oracle Java 7 instead of Apple Java 6. The DrJava app
works ONLY with Apple Java 6 (and even then you have to override the Mac
gatekeeper on recent versions of Mac OS X); Oracle uses a different app
launcher than Apple. As a result, Apple Java apps are completely
incompatible with Oracle Java apps. Our Mac app builder uses the Apple
launcher. On Macs with Oracle Java installed, the workaround is to use the
jar version of DrJava and invoke it from the command line just like Linux
users.
Java has a long tradition of backward compatibility but Mac Java apps do
not, which is one reason why I don't buy Macs anymore. The DrJava app
works well on my old Core Duo MacBook (running OS X 10.6.8).
I am planning to issue to a new release of DrJava that works with the Java
8 compiler (but does not support Java 8 syntax in the interactions pane).
I may omit the Mac app in the new release.
Scot: it is great to hear from you even if it is via a DrJava bug report!
Best,
Corky
On Thu, Jun 5, 2014 at 4:44 PM, NobleUplift nobleuplift@users.sf.net
wrote:
Related
Bugs: #947
Corky,
I posted an update that explained how to get around the problem that we had - it was a problem with the permission to run an app from a non-trusted source. (The error message about a corrupted app is totally misleading.) I may still run into problems with some students' computers, though. I have Apple Java 6 installed as well as Oracle Java 7, I believe. I don't know what my students will have.
Great to hear from you! And thanks for following up quickly.
Scot
On Aug 13, 2014, at 5:14 PM, Robert Cartwright rcartwright@users.sf.net wrote:
Related
Bugs: #947
Hi Scot,
Thanks for the update!
I knew that original Mac OS X 10.8 gatekeeper issued false messages but I
was not aware of the behavior of the gatekeepr in updates to 10.8 or in OS
X 10.9. I don't understand why Apple decided to generate the false
messages, but I have a very low opinion of Apple the company (as opposed to
Apple software design which I like).
If installing Apple Java 6 in addition to Oracle Java 7 does not cause
problems elsewhere, I strongly recommend it. Let me know if this strategy
works with your students.
I am planning to extend DrJava to support Java 8 syntax in the interactions
pane as a project in my course on Production Programming this fall. I
think it also makes sense to create two Mac OS X apps: one for Apple 6 Java
and one for Oracle Java. When Java 6 becomes obsolete, it probably makes
sense to drop the Apple 6 Java app.
Please keep in touch. I really value your feedback and advice
Best,
Corky
On Wed, Aug 13, 2014 at 10:16 PM, Scot Drysdale scotdrysdale@users.sf.net
wrote:
Related
Bugs: #947
I have the JavaSE-1.6 (and apparently JRE-1.1 and J2SE-1.2 through J2SE-1.5) on the computer because I have been updating it over the years and porting my system every time I got a new computer or OS. It does not seem to cause problems. However, I am not sure how to find and download 1.6 for new computers. I will ask around. Do you know anything about it?
I will also download and play with the .jar file. That may be the easier way to go for Mac students.
Scot
On Aug 14, 2014, at 10:22 AM, Robert Cartwright rcartwright@users.sf.net wrote:
Related
Bugs: #947
Hi Scot,
My recollection is that I used the Mac software update facility to download
Java 6 to my Core Duo MacBook several years ago. Apple's initial release
of Java 6 only targeted 64-bit Macs (e.g., Core 2 Duo and later) so I could
not run on my machines. I was forced to buy a conventional PC and shift my
Java software development to that platform (primarily Linux). On my Core
Duo MacBook, I could also run a flawed pre-release version of Java 6, which
unlike the subsequent official release, was a 32-bit implementation. Since
this release was incomplete and buggy (Apple did not even call it an
"alpha" version), I did not trust it for DrJava development even though
DrJava ran on this version of Java without an apparent problems. Apple
finally released an official 32-bit version of Java 6 much later (years?)
than the initial release.
So I would look for an Apple Java 6 download via the Mac software update
facility. When I get home, I will explore updating Apple Java 6 using this
facility on my old MacBook (running OS X 10.6.8, the last version of OS X
available for 32-bit processors) and report back.
Best,
Corky
On Thu, Aug 14, 2014 at 9:37 AM, Scot Drysdale scotdrysdale@users.sf.net
wrote:
Related
Bugs: #947
Downloading the .jar file and double-clicking seems to open DrJava with Java 7. (After overriding the protection against running apps from unknown sources, of course.) That may be the simplest way to go. It avoids opening a terminal window and typing "java -jar", which is minor but significant for inexperienced users. Double-clicking on a .jar file and clicking on an application seem equally easy, so I am thinking of going with that for Mac users.
Scot
On Aug 15, 2014, at 12:07 PM, Robert Cartwright rcartwright@users.sf.net wrote:
Related
Bugs: #947
Hi Scot,
My only concern with double clicking the jar file is that installing
another app that relies on the file extension ".jar" could change the
behavior associated with the ".jar" extension. I know that this is an
issue in Windows. Typically reinstalling Java fixes the problem in Windows
("he who modifies the Registry last, wins") but I don't have any comparable
experience directly executing ".jar" files in Mac OS X.
Best,
Corky
On Fri, Aug 15, 2014 at 11:16 AM, Scot Drysdale scotdrysdale@users.sf.net
wrote:
Related
Bugs: #947
Hmm. I will have to play with this. I assume that the "java -jar" approach from Terminal works either way?
Thanks,
Scot
On Aug 16, 2014, at 8:39 AM, Robert Cartwright rcartwright@users.sf.net wrote:
Related
Bugs: #947
I have found a solution! I am running Mac OS X 10.12.6. The problem is that Apple reaaally doesn't want us to be downloading things that aren't from the apple store, and the new updates of the Mac have gotten rid of the "Allow Downloads from: Anywhere" setting in system preferences, so what I had to do instead was force the Mac to allow that setting by typing "sudo spctl --master-disable" into Terminal. You are then able to go into System Preferences>Security and Privacy and then click Anywhere. Good luck!
I am skeptical that this will work because we are using a very old package
to generate Java apps for the Mac; the package dates from the era when
Apple supported Java. When Oracle took over Java on the Mac (as of Java
7), they decided to use a different app launcher for Java jar files. I
don't know any of the details about the structure of Mac apps or the
protocol for launching them so it is conceivable that the old launcher
works for Java 8 (I recall it failing for Java 7). My recommendation is to
simply download the raw DrJava jar file (as on other Unix systems) and run
it by double-clicking on the jar file icon. Mac OS X initially chokes
(refuses to run the jar file) but I think it provides an informative
message on how to force Mac OS X to run the jar file by visiting the
Security Center and explicitly authorizing the execution of the DrJava jar
file. Even in the absence of such a message, you can go to the Security
Center (after trying to run it and failing) and authorize its execution.
After than, double clicking non the jar file simply works. I went through
this process on the MacBook in my office which I rarely use. Like most
software developers, I am very partial to Linux.
On Sun, Sep 17, 2017 at 9:02 PM, Ebsa Eshete ebsa11@users.sf.net wrote:
Oh, you're right, I had thought it worked, but I hadn't checked if it had actually pulled up. Sorry! I downloaded the jar and updated my java and now it works. Thanks!