Download Drjava Mac

Download DrJava (2021) for Windows PC from SoftFamous. 100% Safe and Secure. Free Download (64-bit / 32-bit). 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. It also provides a step-by-step guide for creating, compiling, and executing a Java program using either DrJava or the Terminal.All of the software used is freely available. You will need an Intel-based Mac runningMac OS X 10.8 (Mountain Lion) to Mac OS X 10.13 (High Sierra). You can defer steps 4–6 until Section 1.5 of the textbook. This videos shows how to install and set up drjava on Mac. Installing DrJava on an Apple/Macintosh. Installing Java: Java should be already installed by default. Click the button labeled 'Download Mac OS X App'.

Download the Mac OS X installer lift-java.pkg. Double-click lift-java.pkg to install the software. Enter your Mac OS X password when prompted and use all of the default options. 1- Download Mac OS Mac OS is a computer operating system developed by Apple. This is a operating system with beautiful interface, however, to own a the computer of Apple with this operating system, you need to use a lot of money, normally with the double price than that of common computers using Windows operating system.

Downloading and setting up DrJava

DrJava is a free environment for writing and running Java programs. It is installed on CIT's computers throughout the campus and in the ACCEL lab.

Please note that there are two versions of Java. The older version, Java 1.4.2, and the newer version, Java 1.5. For most of the semester, it will not matter which version you are using. We will not make use of the new features in Java 1.5.

You need a Java virtual machine

You will need the Java software development kit (JDK) from the Sun website. THIS MAY ALREADY BE ON YOUR COMPUTER. Don't attempt to download and install it unless you know you don't have it. If you have a Macintosh running Mac OS X, you almost certainly have it. If you have a PC, this site can check whether you have it:

If you need the Java software development kit (JDK) get it from this website:

See the Popular Downloads link on the right side of that page. Choose J2SE 5.0. Also, choose the J2SE JDK or SDK (not just the JRE and not the 'bundles' that include other programming environments, such as netBeans). Warning: this is a big download!

Can't execute jar files

Ide

If you cannot double-click on a jar file to start it running, or if you cannot execute any of the commands java, javac, javadoc, or jar, you probably have not set your path correctly. We explain this for Windows 2000; older windows systems are similar.
Your system contains a variable that lists directories with executable files in them. Type 'path' in a command-line window. The line that is printed contains path names separated by semicolons. For example, one path name may be:

C:WINNTsystem32

There should be a path that looks like this: C:j2sdk1.4.1_02bin. This is a directory called bin inside the directory where you installed the sdk. It may be different on your computer. If such a path is not there, you have to add it. Bring up the help in your Windows system, open the index, and look for 'path'. There, you will find instructions on appending another directory to variable path. It may be something like this (but read the instructions):
path %path%;C:j2sdk1.4.1_02bin

Downloading DrJava

The easiest thing for you to do is to download this version of DrJava drjava-stable-20080106-0744. This version is supposed to work whether you have Java 1.4.2 or Java 1.5, and we advise using it.

If you want, open this web page (by clicking the link) in your browser and choose another version of DrJava to download. Get the latest version. Note that DrJava won't run unless you have a Java 2 v1.3 (or later) virtual machine already installed.

Warning: you may get a dialog saying something about a 'JAR archive security check'. If you do, just right-click on the DrJava download link and select 'Save Link As' (or the equivalent in your browser).

We know that all this setup can be annoying, but you have to do it only once!

A common DrJava problem: finding tools.jar

Question: I downloaded Sun's J2SE SDK and DrJava. When it came to actually running DrJava, the following window kept popping up even though somehow DrJava still managed to run without me finding the file --what should I do?:

Compiler not found. The file you chose did not appear to contain the compiler. Would you like to pick again? The compiler is generally located in 'tools.jar', in 'lib' subdirectory under your JDK installation director. (If you say 'No', DrJava will be unable to compile programs.)

Answer: First, make sure you installed the Java SDK, not the JRE. (See above.)

Next, file tool.jar comes with the JDK. The usual location is

C:Program FilesJavajdk1.5.0_02libtools.jar

if you have followed the default options during the JDK download process. You can also use a desktop tool to search for this file on your computer. You simply need to set DrJava's Preferences to the correct path. To do so, follow these menu items: Edit - Preferences - Resource Locations - Tools.jar Location then type or browse to the correct location.

Running DrJava

There are several ways to run DrJava:

  • From the command line, you can type java -jar drjava-stable-20061025-1556.jar
  • On many platforms, you can simply double-click the jar file to start DrJava.
  • On OS X, you can download the drjava-stable-20061025-1556.jar-osx.tar.gz package. You can then run DrJava as a normal application.

Documentation --how to use DrJava

The demos given in class and in the demo sessions should help, if you take notes. However, here is documention on using DrJava (http://drjava.sourceforge.net/userdocs/) on the web.

Wrong-version error.

Do you get a message that looks like this?

Error: cannot access javax.swing.JFrame
bad class file: C:Program FilesJavajre1.5.0librt.jar(javax/swing/JFrame.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

Fl studio 20 mac free. It may mean that your computer has two different systems on it and is an inconsistent state. If your computer has jre5.0, then it cannot use SDK 4.7. Uninstall SDK4.7 and download JDK 5.0 and use its tools.jar.


In Mac OS 10.7, the Library folder is hidden. Preferences, presets, and other user customization settings are stored within this Library folder.

To access the Library folder:

For instructions on additional methods to make the Library folder visible, see How to access hidden user library files Mac OS 10.7 Lion.

Some features in many Adobe applications require the Oracle Java Runtime Environment (JRE). In Mac OS 10.7, Java is no longer preinstalled but is an optional installation item.

Download Drjava Mac

Current Adobe installers and applications were built before these changes to Mac OS and anticipate that Java is installed. Adobe and Apple worked together to ensure that you can install Java with Mac OS 10.7, or at a later time before you install Adobe applications. (When you start an Adobe application, you are prompted to install Java if it isn't already installed.) In a corporate IT environment, be sure to preinstall Java, or make sure that it can be installed through firewalls or other security software.

If the Java Runtime isn't installed, the following issues can occur in Adobe applications:

  • Features are missing or behave improperly
  • The software doesn't start
  • Prompts to install Java Runtime occur
  • Applications hang or quit

For instructions to install the Java Runtime, see How to install the Java Runtime (JRE) Mac OS 10.7 Lion.

In Illustrator CS5 and CS5.1, and in InDesign CS5.5, Crash Reporter doesn’t appear or appears after long delays (10-15 minutes).

When you scroll, the result could be the opposite of expected due to the 'Move content in direction of finger movement when scrolling or navigating' feature. To alter this behavior, deselect the feature at the top of the Mouse section within the System Preferences.

CS2 and earlier versions of Adobe products require Rosetta to run on newer Intel-based Mac systems. These older versions are not supported on Mac OS 10.7 as it doesn't support Rosetta.

Mac OS 10.7 has some exciting new features such as Autosave, Restore, Versioning, Full Screen Mode, and more multi-touch gestures. For Adobe applications to fully support these features, additional product development is required. Adobe is working to address this issue. For related information, see Mac OSX 10.7 preference to 'Restore windows when quitting and re-opening apps' doesn't work with Adobe applications.

Adobe Reader plug-in and Acrobat plug-in are not compatible with the Safari 5.1 browser, included with Mac OS 10.7 and for 10.6 in July 2011. Adobe Reader and Acrobat continue to work as stand-alone applications on Mac OS 10.7 and 10.6, and render PDF documents outside the browser. In addition, Safari 5.1 renders PDF documents natively. However, the Adobe Reader and Acrobat plug-ins don't function as expected in LiveCycle. And Acrobat workflows that require either plug-in to render PDF documents in Safari 5.1.

Recommendations:
If you use forms, digital signatures, portfolios, guides, 3D, extended PDF documents and rights management, and require the Acrobat plug-in to render PDF documents in the Safari browser, Adobe recommends that you continue to use Safari 5.0.x and Mac OS X 10.6. Adobe will provide updates as it continues to investigate this issue. For additional information, see Apple Safari 5.1 and Adobe Reader/Acrobat Advisory.

When Adobe Drive 2 or 2.1 connects to a digital asset management (DAM) server, Photoshop, InDesign, InCopy, Illustrator, and the Mac OS X Finder can't display folders or files in second-level folders of a mounted drive. Adobe Drive 3 addresses this issue. For additional information, see Folder contents not visible in drive mounted on Mac OS 10.7 Adobe Drive 2.x

Osx Java Home

The Adobe Connect Add-in is not officially supported for use with Mac OS 10.7. For more information, see Known issues with the Adobe Connect Add-in version 9.4.80.0 and Mac OS X Lion.

Contribute CS5, CS5.1

  • Contribute detects LPDF files as PDF files. An error message appears during publish.
  • The Contribute plug-in crashes when you select text or add a highlight color outside the color panel in the Firefox browser (Contribute In Browser Editing).
  • Publishing Content Type with metadata enabled results in Content Type being successfully published but the metadata is not created or populated. Such categories of XML files cannot be edited because validation fails on Lion.

Contribute CS4

  • The color picker does not select color outside the color picker dialog box.

For information, see the following articles:
Keychain contains multiple instances of Dreamweaver CS4 Mac OS 10.7 Lion
Color Picker returns incorrect sample color Dreamweaver CS4 Mac OS 10.7 Lion

In Fireworks CS4, the color picker doesn't reflect the color selected on canvas.

  • Flash Builder 4.0.x doesn't work on Mac OS 10.7. Adobe does not intend to update this product for use on Mac OS 10.7.
  • Flash Builder 4.5.x is compatible with Mac OS X 10.7, although issues can affect installation and product usage:
    • Before installing Flash Builder 4.5.1, install Java for Mac OS X 10.7. Otherwise, Flash Builder 4.5 is installed instead of 4.5.1. For instructions to install Java, see Install the Java runtime (JRE) Mac OS 10.7 Lion.
    • Flash Builder includes a version of Flash Player that is not recommended for use with Mac OS 10.7. Rather than installing the default version, download and install the latest debugger version.
    • Right-clicking in the package explorer can stop working after prolonged use of Flash Builder. To resolve the issue, restart Flash Builder.
  • Flash Builder 4.6 for PHP when installed as a plug-in into Eclipse 3.7 is generally compatible with Mac OS 10.7. However, if you are using a stand-alone configuration of Flash Builder 4.6 for PHP (Flash Builder 4.6 integrated with Zend Studio), right-clicking in the Package Explorer is sometimes unresponsive. To resolve the issue, close and reopen Package Explorer. If the issue still exists, restart Flash Builder.

Flash Catalyst CS5 and CS5.5 are compatible with Mac OS 10.7. However, some issues affect usability of the product.

Adobe recommends using Flash Player 10.3.183.5 to get the best experience with Mac OS X Lion. In particular, this version resolves an issue with Flash Player settings panel not responding to clicks in Mac OS X Lion.

  • Flash Pro CS4 doesn't work on Mac OS 10.7. Adobe doesn't intend to update this product for use on Mac OS 10.7 and recommends not using it on Mac OS 10.7.
  • Flash Pro CS5 and CS5.5 are compatible with Mac OS 10.7.

In Illustrator CS5 and CS5.1, the option to save or export is disabled in the Save As Or Export dialog box if the save location is the desktop. SeeSave/Export button is disabled on OS 10.7 Illustrator CS5/CS5.1.

Download Dr Java Mac

Photoshop Lightroom 3

  • Canon EOS 5D, EOS 20D, and EOS 350D (Rebel XT/EOS Kiss Digital N) cameras no longer work with tethered shooting under Mac OS 10.7 in Lightroom 3. The list of supported cameras also contains cameras that do not work tethered and any exceptions that exist. See Tethered Camera Support (kb2.adobe.com/cps/842/cpsid_84221.html). For troubleshooting tethering issues, see Troubleshoot tether capture (http://kb2.adobe.com/cps/894/cpsid_89486.html).
  • Some customers have reported inconsistent connectivity with Lightroom 3.4.1 and their Nikon cameras when using the tether function in Mac OS 10.6.8. Adobe is working on this issue, but recomments using Mac OS 10.6.7 until the issue is resolved. For more information, see Network volumes don't display in import dialog box after installing Mac OS X 10.7 (Lion) Lightroom 3.

Photoshop Lightroom 2.x

Drjava ide
  • Photoshop Lightroom 2.7 is verified to support Mac OS 10.7. Earlier versions were not tested, although they could run on Mac OS 10.7 without issues. However, Adobe recommends that you update to version 2.7. From within Photoshop Lightroom, chooseHelp > Check for Updates.
  • Photoshop Lightroom 2.x doesn't install from the installation DVD. For details, see Lightroom 2 doesn't install under Mac OS X 10.6 and 10.7.

Workflows that are dependent on the Adobe Reader plug-in don't function.

Drjava Stable Download

  • In Photoshop CS3, CS4, and CS5, droplets don't work. For details, see Droplets don't work Photoshop CS5, CS4, CS3.
  • In Photoshop CS5, clicking inside a selection doesn't deselect it. For details, see Clicking inside a selection does not deselect it Mac OS X 10.7 (Lion) Photoshop CS5.
  • Photoshop CS4 crashes dragging layers in the Layers panel. For details, see Photoshop CS4 crashes Dragging layers in Layers panel Mac OS 10.7
  • Error occurs in Photoshop CS4 and CS3 at launch. For details, see Error: 'PowerPC applications no longer supported' occurs when launching Photoshop CS4 or CS3 Mac OS 10.7 (Lion)

Cannot Download Dr Java On Mac Osx Download

  • In Adobe Premiere Elements 9, color artifacts appear in the Timeline area when moving clips within Timeline view.

Install Java On A Mac

  • In Adobe Premiere Pro CS5 and CS5.5, the Universal Counting Leader is missing countdown numbers. (This issue is fixed in the Adobe Premiere Pro CS5.5 (5.5.2) update.)
  • In Adobe Premiere Pro CS5.5, the Timecode effect doesn't render a timecode overlay. (This issue is fixed in the Adobe Premiere Pro CS5.5 (5.5.2) update.)
  • In Adobe Premiere Pro CS5, the Eyedropper tool (for example, for the Ultra Key effect) does not behave correctly on a system with multiple monitors with different vertical resolutions.
  • In Adobe Premiere Pro CS5.5, the Eyedropper tool (for example, for the Ultra Key effect) does not behave correctly. (This issue is fixed in the Adobe Premiere Pro CS5.5 (5.5.2) update.)
  • CUDA processing (Mercury Playback Engine Hardware Acceleration) is disabled under some circumstances. See 'Adobe Premiere Pro, Nvidia CUDA drivers, and Mac OSX v10.7 (Lion)' for more information.

Drjava Download Mac Damaged

UW Home CSE Home Announcements Message Board Contact Info

Install Drjava

CSE 142
Classwork
Staying in Touch
People
Software & Computing
Check Your Scores
MyUW

How to Work from Home

You will need to install two pieces of software: The Java Development Kit (JDK) and the DrJava editor. The directions differ based on your operating system.

Windows ... (common problems)
Mac
Linux
Useful Options for DrJava and Your Operating System
Comparing Text Files

Windows users:

1) Install Java Development Kit (JDK)

Follow the above link and click the 'Download' button next to the 'JDK 6'. (NOT the 'with NetBeans 5.5' link or the 'with Java EE' link or others). Accept the License Agreement and choose the 'Windows Offline Installation, Multi-language' file:

jdk-6-windows-i586.exe

Once you have finished downloading this file, you must run it to install the JDK. You can choose all the default options during installation.

2) Download DrJava editor

Find the section labeled 'Current Stable Release,' then click the button labeled 'Download Windows App.' You will be taken to a download page that lists many Hosts and Locations. Pick one of the locations in North America and press its Download link on the right side of the page. Click the link to download the file, whose name will be drjava-stable-20061025-1556.exe. Save the file to your Desktop or another convenient location.

  • NOTE: If you use the new Windows 'Vista', you should choose to 'Download Jar File' rather than Download Windows App.

Once the file is downloaded, examine your desktop and double-click the drjava-stable-20061025-1556 file to run DrJava. (DrJava does not need to be installed -- the file you download is the actual DrJava program.)

COMMON PROBLEMS WITH INSTALLATION:

  • 'tools.jar' message:
    When you run DrJava for the first time, you may receive an error message about not being able to find a 'tools.jar' file. The box asks if you would like to browse for the file. Click Yes. In the file browse window that appears, browse to the following folder:

    C:Program Filesjavajdk1.6.0lib

    From that folder, select the file 'tools.jar' and choose OK.

  • 'No compiler is available' message:

    You see a 'no compiler is available' message when you try to compile programs in DrJava:

    If you see this, DrJava has not found your JDK correctly. You may need to fix the tools.jar problem as described above, or possibly you do not have the JDK installed properly. A common student mistake is to download the JDK installation file, but to forget to actually run it to install the JDK. Please make sure that you have both downloaded and installed the JDK successfully before running DrJava.

  • 'Interpreter JVM exited before registering' message:

    When you run DrJava, you may receive an error message such as:

    This message can often result from anti-virus or security software that is blocking DrJava from functioning. If your security software pops up a warning about DrJava, tell it to allow DrJava to proceed. (Newer versions of Windows have similar security warnings about allowing DrJava to connect; if Windows pops up a security warning about DrJava, click the option to allow DrJava to proceed.)

Mac:

1) Install Java Development Kit (JDK)

Macs with the OS X operating system will have Java available automatically, but you will need to install the latest version of JDK, version 5.0.

To be able to use the latest Java (Java 5.0), you have to have the Tiger operating system (OS X 10.4 or higher).If you have an older operating system like Panther, you might want to consider buying the upgrade ($69 at the university bookstore, which is a discounted price).Even with Tiger, you won't get the new version of Java automatically.You have to go to this web page to download it:

Download J2SE 5.0 Release 4 (Intel) if you have a newer Intel Mac such as the 'MacBook' laptops.

Download J2SE 5.0 Release 4 (PPC) if they have any older Mac such as a PowerBook.

2) Download DrJava editor

As for DrJava, there is a Mac version of that, available from the same DrJava web site.

Linux:

It's tougher to give an installation guide for Linux because of the large variety of different distributions and architectures. Here is a rough guide that will work for many distributions such as Ubuntu.

1) Install Java Development Kit (JDK)

Follow the above link and click the 'Download' button next to the 'JDK 5.0 Update 9'. (NOT the 'with NetBeans 5.0' link or the 'with Java EE' link or others). Accept the License Agreement and choose the 'Linux self-extracting file' file:

jdk-6-linux-i586.bin

(If you use a Linux distribution that supports RPM packages such as Fedora Core, you may wish to use the 'Linux RPM in self-extracting file' package.)

Once you have finished downloading the JDK .bin file, open a terminal window and execute the file. You may have to give execution permissions to the file:

Running the .bin file extracts the JDK contents. Move these to a directory of your choice. (The rest of this tutorial assumes you have moved the JDK to /usr/lib/jdk/ .)

After installing Java, you will probably wish to add Java's directory to your PATH setting, so that you can run Java commands from your terminal. To do so, edit the file .bashrc in your home directory and add the following lines to the end of it:

You should close your terminal and open a new one for the PATH changes to take effect.

2) Download DrJava editor

Find the section labeled 'Current Stable Release,' then click the button labeled 'Download Jar File.' Choose a download mirror and save the file named drjava-stable-20061025-1556.jar to a convenient location.

Once the file is downloaded, open a terminal window, change directory to the one that contains the DrJava Jar file, and type the following:

Useful Options for DrJava and Your Operating System

DrJava - Enable Line Numbers:

If you'd like DrJava to show numbers at the front of each line of your source code, click the following in the main menu of DrJava:

Edit, Preferences...

Now a Preferences window appears. On the left side of this window, click the text Display Options. Some new options will appear on the right. Check the checkbox labeled Show All Line Numbers. Press OK.


DrJava - Increase Indenting to 4:

The default amount of indentation (when you press Tab) in DrJava is 2 spaces. Many programmers prefer an indentation level of 4 spaces to make the code easier to read. If you'd like to change this value, in DrJava open the Preferences window as described above. On the left side of the Preferences window, click the text Miscellaneous. Some new options will appear on the right. Type your desired indentation amount into the text box labeled Indent Level. Press OK.


DrJava - Disable Backup Files (CAUTION):

By default DrJava creates a backup file of your program with the extension .java~ every time you save it. If you'd like to change this value, in DrJava open the Preferences window as described above. On the left side of the Preferences window, click the text Miscellaneous. Some new options will appear on the right. Uncheck the checkbox labeled Keep Emacs-style Backup Files. Press OK.

(CAUTION: These backups can be helpful to protect you from accidentally deleting or damaging your program. Only disable them if you are sure you do not want or need this protection.)

Enable File Extensions in Windows:

By default, Windows does not show extensions of certain types of files. This can lead to confusion because you may not know which file is your .java program and which is your .class compiled file.

If you'd like to change this value, open My Computer. From the window's main menu, click the following:

Tools, Folder Options...

A Folder Options window will appear. Click the tab labeled View, then find the checkbox labeled Hide extensions for known file types. Uncheck it. Press OK.

Now all files should show their extensions in Windows.

Comparing Text Files:

The following programs may also be useful to help you compare text files for differences, such as to compare your program's output against the expected homework output.

To make your Java program's output into a text file, run your program in DrJava, then copy and paste its output from DrJava into a text editor and save the file as a .txt text document.

WinDiff (Windows)

Follow the above link and download the program as a ZIP archive. Inside the archive is the windiff.exe program to execute. To use WinDiff, run the program and click File, Compare Files... and browse to the two text files to compare.

diff (Mac/Linux)

Mac OS X and Linux operating systems contain a command named diff that can compare two text files and output the differences between them. The diff command is executed from a terminal window. If you use a Mac and do not know how to use the Terminal, consider reading a tutorial such as the following:

Within the terminal, the diff command is invoked with two command-line arguments: the names of the files to compare. For example:

There are several tutorials on the use of the diff command, such as: