User Activity

  • Posted a comment on ticket #340 on DrJava

    The class files in drjava.jar are compatible with Java 7, but a prime feature of Java is backward compatibility (which was partially abandoned in Java 9 but that is not relevant to this discussion). The simplest way to run DrJava is from the command line. Open a terminal and cd (change working directory) to the directory (folder) containing the drjava jar file that you want to execute. Then type the command java -jar drjava-xxx.jar where xxx is the versioning suffix on you drjava jar file. If you...

  • Posted a comment on ticket #339 on DrJava

    When you install a new JVM, the installer does not necessarily update the "current" (default) JVM to the newly installed one. Type java -version in a terminal to determine which JVM is the default. If you had previously installed another JDK (which contains an embedded JVM), then the default is unlikely to be the version that you just installed ("1.8.0_152"). I just installed JDK 8u152 on my MacBook but it was effectively invisible (and inaccessible) because the default JVM was still JDK 8u144. To...

  • Posted a comment on ticket #339 on DrJava

    DrJava is not compatible with Java 9. You must download a Java 8 JDK. The internals of Java 9 are drastically different than Java 8. On Thu, Oct 12, 2017 at 2:11 PM, Brandon Kolaski bkolaski@users.sf.net wrote: I have Java JDK version 9 [support-requests:#339] https://sourceforge.net/p/drjava/support-requests/339/ DrJava not opening on Mac 10.11.6* Status: open Group: v1.0 (example) Created: Thu Oct 12, 2017 07:09 PM UTC by Brandon Kolaski Last Updated: Thu Oct 12, 2017 07:09 PM UTC Owner: nobody...

  • Posted a comment on ticket #335 on DrJava

    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...

  • Posted a comment on ticket #335 on DrJava

    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,...

  • Posted a comment on ticket #335 on DrJava

    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...

  • Posted a comment on ticket #335 on DrJava

    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: When I initially double-clicked...

  • Posted a comment on ticket #947 on DrJava

    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...

View All

Personal Data

Username:
rcartwright
Joined:
2002-01-17 19:28:05

Projects

Skills

  • No skills entered.