I've downloaded JDK 8 and the latest verison of DrJava on Mac. I opened the download file for DrJava and then the application was unpacked, but then it tells me that I need to install the legacy Java SE 6 runtime, even thought I have JDK 8. Could anyone help?
I am having a similar problem. running OS X version 10.12.6. I have downloaded and unpacked Dr Java; when I click on the icon it appears to be loading but then stops. Am running Java version 8 update 144 (build 1.8.0_144-b01). What should I do?
Download the jar file and run it. We need to remove the Mac app which I
think still uses the old Apple Java 6 launcher. When Oracle took over Java
on the Mac, they decided (why O why?) to use an incompatible app launcher.
All of our app distributions use the old launcher. In addition, Apple is
hostile to apps that do not pay a licensing fee for Apple vetting; almost
all open source apps are in this category. Mac OS X will open jar files if
you visit the Security center after trying to open the jar file and
failing. Apple is perhaps more friendly to raw jar files that it is to
unlicensed apps. I have a Mac in my campus office (which I have not
visited since last week given the Houston flood) on which I was able to run
the jar file without much problem (using the explicit override available in
the security center). Note that if you are Unix literate, you can
explicitly run the jar file from the command in Mac OS X using the command
java -jar drjava-xxx.jar
where xxx is the name suffix specifying the version of the drjava jar file
and you have changed your working directory to the directory containing the
jar fil. I suggest renaming this file to drjava.jar if you are relying on
command line execution.
-- Corky Cartwright
On Fri, Sep 1, 2017 at 7:38 AM, Ed Spitzmiller espitz@users.sf.net wrote:
First of all, thank you for responding given you have been affected by the
flooding and I hope you and your family are doing OK after the flood. I
apologize but I don't know what a "jar file" is or how to open it. Do I
need to uninstall Java? Would this be easier if I called you?
Sincerely,
Ed Spitzmiller, DO
If you cannot do great things, so small things in a great way.
Napoleon Hill
https://www.brainyquote.com/quotes/authors/n/napoleon_hill.html
Does it disturb anyone else that “The Los Angeles Angels” baseball team
translates directly to “The The Angels Angels”?
On Fri, Sep 1, 2017 at 12:32 PM, Robert Cartwright <rcartwright@users.sf.net
Related
Support Requests: #335
A Java program is typically packaged in a format called a jar file; this
file contains an embedded class file (the output of the javac compiler) for
each class in the Java program. The drjava.org page includes gray buttons
for three different formats: jar, Windows apps, and Mac apps. I may try to
remove the Mac OS X App button later today since it uses the old Java app
launcher which does not work for the Java 7 or 8 implementations created by
Oracle.
On the drjava.org page, select the button labeled
Download Jar File
The downloaded file will be called drjava-beta-20160913-225446.jar. I
suggest putting the file on your desktop. On Mac OS X, the user interface
should respond to your double-clicking the jar file icon by running it as a
Java program. My recollection is that the Mac UI will not immediately do
this; it complains that the jar file may not be safe (true). I don't
recall the popup message directs you the Security center (in the Settings
app) or simply states that it is unsafe. After you see this message, you
can go to the Security center which now (after the failed attempt to start
the jar file) will show a box you can check to run the jar file. I don't
have a Mac in front of me now (there are no Macs in my house) so I am
reciting this from memory.
On Fri, Sep 1, 2017 at 12:16 PM, Ed Spitzmiller espitz@users.sf.net wrote:
THANK YOU SO VERY MUCH!!! IT WORKED. I do have a couple more questions.
I had previously set my security setting to allow the mac to download from
anywhere. In this day and age of viruses and hacking that makes me
slightly nervous. Can I change it back to its original setting? Also, you
write, "My recollection is that the Mac UI will not immediately do
this; it complains that the jar file may not be safe (true)". How unsafe
is it? Should I look for something? Run virus programs?
Sincerely,
Ed Spitzmiller, DO
If you cannot do great things, so small things in a great way.
Napoleon Hill
https://www.brainyquote.com/quotes/authors/n/napoleon_hill.html
Does it disturb anyone else that “The Los Angeles Angels” baseball team
translates directly to “The The Angels Angels”?
On Fri, Sep 1, 2017 at 1:59 PM, Robert Cartwright rcartwright@users.sf.net
wrote:
Related
Support Requests: #335
The DrJava file is safe. What I meant by "the jar file may not be safe
(true)" is that Java jar files in general can do bad things to your local
machine and that the Mac OS knows nothing about DrJava so it must assume
that it might be malicious. Only open Java jar files from sources that
your trust. I do not recommend executing jar files from unknown sources.
The Java program in the jar file will execute with the same privileges as
the owner of the account so a malicious Java jar flie could do a lot of
damage. The same is true for unregistered Mac apps. The open source
software community is founded on trust. Open source software developers
and organizations value their reputations so legitimate sources are
vigilant in preventing viruses, etc. On the other hand, a jar file or app
from an unknown source could be malicious.
On Fri, Sep 1, 2017 at 1:25 PM, Ed Spitzmiller espitz@users.sf.net wrote:
I am facing the same issue, although even after downloading the jar file it is still not working
Last edit: Mal 2017-10-04
I just repeated the process I already described minutes ago on my MacBook
laptop running Mac OS X 10.11.4, again in Mac OS 10.11.6 (after I updated
the OS), and Mac OS 10.13 (High Sierra) I essentially never use my MacBook
(whose formerly wonderful interface has been polluted by iPhone
compatiblity concerns) except to test DrJava. For the record, I hate
smartphones (in comparison to laptops) and laptops with interfaces that
imitate smartphones.
A few more details:
OS did not open it because it is from an "unknown developer".
the "System Preferences" app in the applications dock. In the default
("General") view of this panel, an entry for the prohibited .jar file
appears at the bottom of the panel. I checked the box stating that I
wanted to run the .jar file anyway. The OS popped up a dialog box asking
me confirm that I REALLY wanted to run it, which I did. The .jar file then
started (using the Java JDK 8 release that I previously installed); the OS
subsequently did not question new attempts to execute the DrJava .jar file.
On Wed, Oct 4, 2017 at 8:48 AM, Mal malsaadon@users.sf.net wrote:
I am trying to download the jar file on m macbook. I can download without problems when I open it I receive a message window from google chrome stating "drjava-beta-20160913-225446.jar cannot be opened because Google Chrome is not allowed to open Java Jar files" I receive a similar message from Firefox as well as Safari. Any suggestions on to resolve this?
Mac users must download the jar file, not the Mac app which is packaged
with the Apple Java 6 loader. I just removed the Mac app from the download
page because the packaging system we have been using to create our
downloads was designed for Apple Java distributions which ended with Java
6. As a result, our Mac app packaging does not work with Java JDK
distributions for the Mac created by Oracle. Since the most recent version
of DrJava is incompatible with Java 6 (no longer supported by Oracle), the
Mac app on the DrJava download page that I removed was useless. On recent
Mac OS X systems equipped with a Java 8 JDK (which must be explicitly
downloaded and installed), jar files must be opened using the Jave JRE
(Java Runtime Environment) embedded in a Java JDK installation. I only use
the Java 8 JDK for the Mac created by Oracle, who is the vendor controlling
Java since Oracle bought Sun Microsystems. I don't know why Ed
Spitzmiiller's machine is trying to use Chrome to open a Java jar file.
Chrome is a browser, not a JRE. After installing a Java 8 JDK on a Mac,
double clicking a jar file icon should invoke the JRE embedded in the JDK
installation, modulo the Mac OS X gate-keeper which refuses to run
unregistered jar files with an explicit override using the Security and
Privacy center. I recommend that Ed reinstall the Java 8 JDK.
The Apple gatekeeper is not supportive of open source software which
admittedly exposes users to some risks (open source software can
potentially be malicious). If necessary, DrJava can be run from the
command line in a terminal:
java -jar <name of="" DrJava="" jar="" file="">
which is how I run DrJava on my Linux machines. I have not recently tried
using this interface to execute DrJava on Mac OS X but I presume it
requires the same override in the Security and Privacy center as executing
the Jar file by double clicking it. I will try this approach to executing
DrJava on Macs and report on the results when I get back to my campus
office at Rice a few days from now.
On Sat, Oct 7, 2017 at 10:12 AM, Ed Spitzmiller espitz@users.sf.net wrote:
How do I install the Java 8 JDK?
Sincerely,
Ed Spitzmiller, DO
If you cannot do great things, so small things in a great way.
Napoleon Hill
https://www.brainyquote.com/quotes/authors/n/napoleon_hill.html
Does it disturb anyone else that “The Los Angeles Angels” baseball team
translates directly to “The The Angels Angels”?
On Mon, Oct 9, 2017 at 8:42 AM, Robert Cartwright rcartwright@users.sf.net
wrote:
To install a Java 8 JDK on a mac, you can follow the instructions on the
page
https://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jdk.html
with one simplication. There is now only one form of installation package
for the mac named
-
jdk-8u144-macosx-x64.dmg
I have no idea why there were ever two different Java 8 intallation
packages for the mac (as mentioned on the web page referenced above). The
x64 (64-bit) extension of the old Intel x86 32-bit instruction set was
developed by AMD, so the
distinction betweeen jdk-8uversion-macosx-x64.dmg
and jdk-8uversion-macosx-amd64.dmg makes no sense to me. In addition, the
"version" reference is garbled. The current version of Java is Java 8.
For that version of Java, Oracle has generated many, many
releases--patching bugs and making minor extensions. The latest Mac OS X
installation file is
jdk-8u144-macosx-x64.dmg
where "144" refers to the release number.
To install the Java 8 Release 144 JDK, download the file
jdk-8u144-macosx-x64.dmg from
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html?printOnly=1
(after accepting the Oracle license agreement), double-click on the
downloaded file and follow the displayed instructions (which I recall as
being simple and transparent). You
can also consult
https://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jdk.html
-- Corky
On Mon, Oct 9, 2017 at 12:46 PM, Ed Spitzmiller espitz@users.sf.net wrote:
I downloaded the JDK 8 file and tried again. I received the same message
that Chrome was not allowed to download JAR files.
Any thoughts?
Sincerely,
Ed Spitzmiller, DO
If you cannot do great things, so small things in a great way.
Napoleon Hill
https://www.brainyquote.com/quotes/authors/n/napoleon_hill.html
Does it disturb anyone else that “The Los Angeles Angels” baseball team
translates directly to “The The Angels Angels”?
On Tue, Oct 10, 2017 at 10:15 AM, Robert Cartwright rcartwright@users.sf.net wrote:
I am confused. Were you able to install the JDK? After installing the
Java JDK, clicking on the DrJava jar icon should invoke Java Runtime
Environment (via the user interface supported by the operating system which
blocks your first attempt to execute the jar file. Chrome should never be
involved. You can always work around this interface by
executing the jar file from the command line. I just tried this on my
MacBook. In this case, the Mac gatekeeper never runs; it works just like
Linux (the OS that I normally use).
To use the command line, simply click on the terminal icon in the dock
(also available as the Terminal app in the Utilities subfolder in the
Applications folder), execute the command (typed in the terminal)
cd Desktop
followed by the command
java -jar drjava-xxxx.jar
(where xxxx.jar is the remainder of the name of the jar file)
assuming you have downloaded the drjava jar file to your desktop.
-- Corky
On Tue, Oct 10, 2017 at 2:58 PM, Ed Spitzmiller espitz@users.sf.net wrote:
Got it. Thanks
Sincerely,
Ed Spitzmiller, DO
If you cannot do great things, so small things in a great way.
Napoleon Hill
https://www.brainyquote.com/quotes/authors/n/napoleon_hill.html
Does it disturb anyone else that “The Los Angeles Angels” baseball team
translates directly to “The The Angels Angels”?
On Tue, Oct 10, 2017 at 4:45 PM, Robert Cartwright <rcartwright@users.sf.net