To install the JDK and DrJava on Windows 8 suika game, you can follow these steps: * Go to the Java Downloads section of the Oracle website, and download the x64 Installer from there. * As soon as the download completes, launch the installation file and click on Yes. * The JDK installation wizard will be launched. In the dialog box, click on Next. * Choose the installation directory and click on Next. * Wait for the installation to complete and click on Close. * Download the DrJava IDE for Windows....
To install the JDK and DrJava on Windows 8 tunnel rush, you can follow these steps: * Go to the Java Downloads section of the Oracle website, and download the x64 Installer from there. * As soon as the download completes, launch the installation file and click on Yes. * The JDK installation wizard will be launched. In the dialog box, click on Next. * Choose the installation directory and click on Next. * Wait for the installation to complete and click on Close. * Download the DrJava IDE for Windows....
To install the JDK and DrJava on Windows 8, you can follow these steps: * Go to the Java Downloads section of the Oracle website, and download the x64 Installer from there. * As soon as the download completes, launch the installation file and click on Yes. * The JDK installation wizard will be launched. In the dialog box, click on Next. * Choose the installation directory and click on Next. * Wait for the installation to complete and click on Close. * Download the DrJava IDE for Windows. * Double...
Hola: This is the response it provides: java -jar drjava.jar, when this command is executed. Luiss-MacBook-Pro:DRJAVA laam$ java -jar drjava.jar Exception in thread "main" java.lang.NoClassDefFoundError: com/apple/eawt/ApplicationListener at edu.rice.cs.drjava.platform.PlatformFactory.getPlatformSupport(PlatformFactory.java:50) at edu.rice.cs.drjava.platform.PlatformFactory.<clinit>(PlatformFactory.java:40) at edu.rice.cs.drjava.config.OptionConstants$DefaultFont.getDefaultMainFont(OptionConstants.java:231)...
DrJava is an open source app that is not licensed with Apple so Apple now generates the bogus message that you reported. I have not personally used Macs in well over a decade but I have seen many reports of the same problem by other Mac users. The universal solution is to download the jar distribution and execute it from the command line (in a terminal) using the command java -jar drjava.jar You must run a version of Java consonant with the date of the release that you are using. I recommend downloading...
Translation to english Hello: I just downloaded/unzipped the file: drjava-stable-20120818-r5686-osx.tar.gz, I run it and it already appears: DrJava.app, when I run it I get the following message: “DrJava.app” is damaged and cannot open. You should move it to the garbage can. Can you tell me how to solve this problem. Thanks
Error al ejecutar DrJava
There is a more recent build under the name drjava.jar at https://www.cs.rice.edu/~javaplt/drjavarice/drjava.jar that fixes a bug we encountered with jacoco code coverage. I am using a Windows 10 laptop as my primary machine which does not interoperate very well with github. I will try to push our local repository to github shortly. In the meantime, I recommend the build shown above. DrJava is little used at Rice these days.
I think (but am not sure; I haven't been a maintainer in ~15 years) that it is now at GitHub.
DrJava source code out of sync
DrJava is not in for my Mac
Correct URL and display text for Amazon Corretto at drjava.org
Hi Stella, When you type the command java -jar drjava-beta-20160913-225446.jar the current working directory of your terminal must contain the file drjava-beta-20160913-225446.jar. You either need to change your current directory (using the cd command) to the directory [folder] containing the jar file for drjava or you need to provide a relative path (from the current directory) to the jar file. Apple has been hostile to open source Java apps (typically distributed as jar files), so I don't know...
Dr Java 2016 and 2019, Amazon Coretto 8, MacOS Catalina
DrJava loading error
This is a continuing saga from Apple. It has happened several times in the past decade. Apple wants to lock down Macs so that no software other than what Apple licenses (for a fee) can run on their machines. My recollection is that there was a workaround involving the security manager, which may still work and should be accessible in the support logs at the DrJava sourceforge website, Unfortunately, I don't remember the details. I presume that you have installed a Java 8 JDK or JRE and that you are...
My application of Dr Java was working until I got the last sofware update on my MacBook Pro. Now when I try to run the application the computer sais it is from an unknown provider, I press run it anyway and the computer sais it is a damaged file and cant be opened.
Auto Import Class Issue
Yes. You can edit the DrJava preferences to enlarge the fonts, but I am not certain that all fonts are configurable. Let me know what happens. I am not aware of any users' experiences using DrJava on a 4K screen. On my HD resolution screen, the fonts are quite small so enlarging them using preferences is a good idea. The defaults assume much less resolution. On Fri, Nov 6, 2020 at 3:32 AM Tyler Sagen ck-3030@users.sourceforge.net wrote: [support-requests:#365] https://sourceforge.net/p/drjava/support-requests/365/...
Of course, after uploading this question I find the answer. However, when I right-click on a particular file on the left side, the menu that pops up is still in tiny print. Hmm...
Of course, after uploading this question I find the answer. No further help needed.
Program Appears Small
Tutorial Videos Using Outdated Tech
Even in an era where updates to DrJava are infrequent, your version of DrJava (drjava-20160913-225446) [Sept 13, 2016] is very old. Please download https://www.cs.rice.edu/~javaplt/drjavarice/drjava.jar and try installing a Java 8 JDK which is the configuration I generally use. Many bugs have been fixed dand support for Java 8 has been added in DrJava. I no longer even have a Java 7 JRE or JDK installed on any of my various machines. I use Corretto 8 JDK on Windows 10 and the standard open source...
I don't have enough informatoin to understand the bug. You are using an old version of DrJava (built in 201) with problematic support for Java 7 and 8, and an Oracle Java 7 JVM that is no longer supported. If you can replicate the bug running Amazon Corretto JDK 8 Java distribution and the latest version of DrJava available from www.cs.rice.edu/~javaplt/drjavarice, I will look at it and see if I can fix it.
I just saw this support request. I somehow missed seeing it earlier. You are running an ancient version of DrJava (from 2012!) that I don't think is compatible with Java 8. I also do not what compiler you are using. DrJava searches for all the Java compiler it can find in the usual places on your platform, but I doubt that the 2012 edition will load a Java 8 compiler (which should be located in the tools.jar file in your Java JDK 8 installation. I suspect DrJava is finding an older compiler somewhere...
Opening DrJava
Just taking a stab at this since you said it is new.. you probably need to install Java 8. Go to https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html and click the link for MacOS x64. If that isn't the issue, please provide further information.
Muchas gracias Robert, a mi me funciono muy bien tu solución. Buena tarde!!!
Mac book pro not running dr java
please help
Error using switch (string)
IDK if this will help you or not, but I had the same problem with compilation not working. In my case, I am using a Linux system that has both OpenJDK and a manually installed Oracle JDK (extracted from a tarball obtained from java.com), along with some other JRE environments in various places. I "installed" the DrJava Version : drjava-20190813-220051 jar file and ran it from the command-line. I then clicked [ Manual Download ] when it asked about installing updates (drjava-beta-2019-220051). DrJava...
IDK if this will help you or not, but I had the same problem with compilation not working. In my case, I am using a Linux system that has both OpenJDK and a manually installed Oracle JDK (extracted from a tarball obtained from java.com), along with some other JRE environments in various places. I "installed" the DrJava Version : drjava-20190813-220051 jar file and ran it from the command-line. I then clicked [ Manual Download ] when it asked about installing updates (drjava-beta-2019-220051). DrJava...
In "flat-file" mode, DrJava puts each class file in exactly the same location as the command line default: the same folder as the corresponding source file. If you set up a project (which uses exactly the same source file layout as command line Java), you can specify a "Build Directory" which will place the class files in a file tree with exactly the same structure as the source file tree. The "Compile Project" command compiles all of the source files that are listed in the navigation pane to the...
I just tried using the Amazon Corretto OpenJDK 8 and initially tripped over the fact that there is no java command in /usr/lib/jvm/java-1.8.0-amazon-corretto/bin. For some reason (why?), the java command is only available in /usr/lib/jvm/java-1.8.0-amazon-corretto/jre/bin. At any rate, once I used the "correct"path to the java command, everything worked.
My apologies for not responding sooner. I somehow missed seeing this support thread until Kevin's message showed up in my email inbox a few minutes ago. On my Linux system, I have the Linux OpenJDK 8 and the Amaretto 8 JDK installed. DrJava searches for all of the compilers it can find in common locations for JDK installations on various platforms. The compilation tab in the interactions pane (below the main editing pane) shows the available compilers in a pulldown menu in a subpanel on the right...
DrJava only works with Java JDK 8 which is available for all major laptop platforms at https://aws.amazon.com/corretto/ (Amazon Corretto) by clicking on the "Amazon Corretto 8" button. You should uninstall JDK12 (from Oracle?) first. Sometime within the next year, I hope to release a version of DrJava that works for Java JDK 9+. Starting with JDK 9, Oracle broke backward compatibility for Java apps that use any of the the "lib" files in the JDK distribution. Eclipse and IntelliJ have massive staffs...
I have read somewhere that JDK 1.8 was needed, but I do not remember where. Perhaps it meant minimum? In any event, and realizing that my similar issue was on Linux, you still might go see my comments at Support requests #360/#359 presuming moderators accept them. In my response I detail that in one case, I had to go to Preferences and set the tools.jar location by browsing to it... not just by pasting in the path. I struggled with the symptoms you describe too. In the end, all I had to do was point...
I have read somewhere that JDK 1.8 was needed, but I do not remember where. Perhaps it meant minimum? In any event, and realizing that my similar issue was on Linux, you still might go see my comments at Support requests #360/#359 presuming moderators accept them. In my response I detail that in one case, I had to go to Preferences and set the tools.jar location by browsing to it... not just by pasting in the path. I struggled with the symptoms you describe too. In the end, all I had to do was point...
I know this is a very old ticket, but it popped up first on my search for a solution to this problem, and it has no answers, so I am going to post my findings anyway. IDK if this will (would have) help(ed) you or not, but I had the same problem with compilation not working. In my case, I am using a Linux system that has both OpenJDK and a manually installed Oracle JDK (extracted from a tarball obtained from java.com), along with some other JRE environments in various places. I "installed" the DrJava...
IDK if this will help you or not, but I had the same problem with compilation not working. In my case, I am using a Linux system that has both OpenJDK and a manually installed Oracle JDK (extracted from a tarball obtained from java.com), along with some other JRE environments in various places. I "installed" the DrJava Version : drjava-20190813-220051 jar file and ran it from the command-line. I then clicked [ Manual Download ] when it asked about installing updates (drjava-beta-2019-220051). DrJava...
Java.lang.arrayindexoutofbound
Try the most recent build of DrJava (called drjava.jar at www.cs.rice.edu/~javaplt/drjavarice/).. I am currently using it on my Windows 10 laptop. The JDK I am using (as reported by running "java -version" in the Command Prompt window) is: openjdk version "1.8.0_242" OpenJDK Runtime Environment Corretto-8.242.08.1 (build 1.8.0_242-b08) OpenJDK 64-Bit Server VM Corretto-8.242.08.1 (build 25.242-b08, mixed mode) I found that installing multiple versions of Java on my Windows laptop caused problems...
Looking back at my Dr. Java version #, it seems I grabbed an ancient version. Dr. Java has it listed as "Old stable version" on the website. I just didn't catch how old. Downloaded the newer version and all seems fine.
My error. I recently updated my system. It seems I am having a broader issue of Dr. Java not finding classes/libraries on my Windows 10 Pro system. (It was working great with Coretto on Windows 7.) So, the issue isn't tied to the javax.swing class alone. (Funny that JFrame worked well tho!) I will see if I can figure out why Dr. Java isn't hapy in its new environment on my machine. Thanks.
Dr. Java + Corretto 1.8 (JPanel Component cannot be resolved)
I am experiencing the same issue that Bill describes on OSX. I would just add to the description of that problem that it is as if DrJava is not seeing the installation of Corretto8 on the Mac. When launching DrJava, the compiler output pane shows: Compiler ready: JDK 8.0_222 from /Users/<username>/<filelocation>/drjava-beta-20190813-220051.jar I tried adding the path to the location of tools.jar file to the preferences dialog and verified that it is writing that path to the .drjava config file but...
I am experiencing the same issue that Bill describes on OSX. I would just add to the description of that problem that it is as if DrJava is not seeing the installation of Corretto8 on the Mac. When launching DrJava, the compiler output pane shows: Compiler ready: JDK 8.0_222 from /Users/<username>/<filelocation>/drjava-beta-20190813-220051.jar I tried adding the path to the location of tools.jar file to the preferences dialog and verified that it is writing that path to the .drjava config file but...
I am experiencing the same issue that Bill describes on OSX. I would just add to the description of that problem that it is as if DrJava is not seeing the installation of Corretto8 on the Mac. When launching DrJava, the compiler output pane shows: Compiler ready: JDK 8.0_222 from /Users/<username>/<``filelocation>/drjava-beta-20190813-220051.jar I tried adding the path to the location of tools.jar file to the preferences dialog and verified that it is writing that path to the .drjava config file...
I am experiencing the same issue that Bill describes on OSX. I would just add to the description of that problem that it is as if DrJava is not seeing the installation of Corretto8 on the Mac. When launching DrJava, the compiler output pane shows: Compiler ready: JDK 8.0_222 from /Users/<username>/<filelocation>/drjava-beta-20190813-220051.jar</filelocation></username> I tried adding the path to the location of tools.jar file to the preferences dialog and verified that it is writing that path to...
I had problems running DrJava on Windows 10 until I removed all of my Java installations except Amazon Corretto 8. Java apparently uses some environment variables (like JAVA_HOME and LD_LIBRARY_PATH) which are not treated consistently across JVMs or platforms. See https://stackoverflow.com/questions/27945268/difference-between-using-java-library-path-and-ld-library-path. DrJava appears to work normally (except for code coverage) on Windows 10 when Amazon Corretto 8 is installed after removing all...
Corky, Coretto and AdoptOpenJDK have this issue on Mac 10.14 and 10.15 for sure. The Azul Zulu version 8 and Oracle's Java SE 8 do NOT suffer from this issue. I am able to reproduce this at will. (I have not been able to reproduce it on Windows 10 Education or Pro. All versions seem to work without condition.) I am still researching why this is the case, but the symptoms I see are related to writing the class file. DrJava cannot write the class file, but using javac on the command line is successfull....
In the original ticket I supplied info on the older version drjava-beta-20160913-225446 which was out of date and failed to worked. The correct or current version that I used is as follows:DrJava Version : drjava-20190813-220051 DrJava Build Time: 20190813-220051 DrJava Configuration File: C:\Users\Chrispy.drjava Used memory: about 27.58 megabytes Free memory: about 20.42 megabytes Total memory: about 48 megabytes Total memory can expand to: about 7.99 gigabytes Copyright (c) 2001-2019, JavaPLT group...
In the original ticket I supplied info on the older version drjava-beta-20160913-225446 which was out of date and failed to worked. The correct or current version that I used is as follows: DrJava Version : drjava-20190813-220051 DrJava Build Time: 20190813-220051 DrJava Configuration File: C:\Users\Chrispy.drjava Used memory: about 27.58 megabytes Free memory: about 20.42 megabytes Total memory: about 48 megabytes Total memory can expand to: about 7.99 gigabytes Copyright (c) 2001-2019, JavaPLT...
Current document is out of sync with the Interactions Pane and should be recompiled!
Hi John, What version of Java are you using? DrJava only works with Java 8. I recommend Amazon Corretto 8. See https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/windows-7-install.html. In Java 9 and later versions, the layout and packaging of the Java distribution is incompatible with earlier versions of Java. Hence in Java 9+, DrJava may fail by failing to find the file (rt.jar) that contains the java.lang classes in Java 8. You may also want to try using the DrJava release at https://www.cs.rice.edu/~javaplt/drjavarice/drjava.jar,...
I also get these errors in console: Compiler is using classPath = '[C:\Users\mikec\Desktop, C:\Users\mikec\Desktop\drjava-beta-20190813-220051 (1).jar]'; bootClassPath = 'null' Compiler is using classPath = '[C:\Users\mikec\Desktop, C:\Users\mikec\Desktop\drjava-beta-20190813-220051 (1).jar]'; bootClassPath = 'null' Fatal Error: Unable to find package java.lang in classpath or bootclasspath
Current document is out of sync with the Interactions Pane and should be recompiled!
When will the Windows install be available, for the latest version?
Compilation Errors on Ubuntu 18.04
help installing drjava
turning of auto updating through the registry
Fatal error: Unable to find package java.lang in classpath or bootclasspath
Compiler Issues
Hi Robert, I just got back from my vacation to find your email. Thanks so much for doing this. I'll be looking into this very soon as our school year starts in one week. I had a quick look at the website and noticed that you have uploaded a new jar version but not new windows/mac app versions. I hate to bother you with this but will you be adding a new app versions that supports OpenJDK? The command line is restricted on my school's computers for students so they won't be able launch the jar version....
Mac + OpenJDK8 + drjava-20190813-220051 not compiling
I just uploaded a new version of DrJava (2019-220051) that should work on any version of the Java 8 JRE or JDK; includes the open source OpenJDK 8 Java compiler.
DrJava Beta Release 2019-220051
...again... Not against... Autocorrect... Sal On Sat., Jul. 6, 2019, 7:39 p.m. Sal Iacono, icons@users.sourceforge.net wrote: Thanks against for your quick response. I really appreciate your efforts. Hope you have a great vacation with your family. Sal On Sat., Jul. 6, 2019, 7:01 p.m. Robert Cartwright, rcartwright@users.sourceforge.net wrote: When I tried running DrJava with OpenJDK8 on Windows 10, it did not work as well as I had expected. The primary problem is that DrJava cannot find the tools.jar...
Thanks against for your quick response. I really appreciate your efforts. Hope you have a great vacation with your family. Sal On Sat., Jul. 6, 2019, 7:01 p.m. Robert Cartwright, rcartwright@users.sourceforge.net wrote: When I tried running DrJava with OpenJDK8 on Windows 10, it did not work as well as I had expected. The primary problem is that DrJava cannot find the tools.jar file (containing javac, the Java compiler) in the OpenJDK8 installation. I used the Azul Systems packaging of the 64 bit...
When I tried running DrJava with OpenJDK8 on Windows 10, it did not work as well as I had expected. The primary problem is that DrJava cannot find the tools.jar file (containing javac, the Java compiler) in the OpenJDK8 installation. I used the Azul Systems packaging of the 64 bit OpenJDK8 which puts the installation file tree in C:Program Files/Zulu, a location that DrJava does not currently inspect. I tried a quick hack on the DrJava code base to look in this location, but something is going wrong...
Hi again Robert, So I followed your suggestion. I uninstalled OracleJRE and then tried double clicking on exe again and same result. I tried double clicking on jar file but it didn't work as it seemed that the system didn't know where to find the JRE. However I used the command prompt and DrJava loaded just fine and worked just fine. Maybe your suggestion about the registry being mucked up could be the issue after all? I'd still love to hear how it goes for you when you try on your Windows 10 machine....
Thanks for the quick response Robert. I'm glad to hear that it should work. I did try both the jar version and the exe version by double click on file but I didn't think to try launching the jar from the command line. I will see if that makes a difference. Like I said before it seems like the program checks for the jre at launch and for some reason it doesn't find the open version. I opened a command prompt and entered 'java -version' to see what version windows sees and it reported back the open...
DrJava should run without any change using OpenJDK8. I just tested it my Linux laptop (running Ubuntu 18.04) using the OpenJDK8 distributed from the Ubuntu 18.04 repository. I have multiple JDKs installed on that machine so I have to identify which "java" command that I want to run. Each JDK distribution (a file tree) includes a bin directory containing java and javac. DrJava found the Java 8 compilers for both Oracle JDK8 and OpenJDK8. I selected the latter and successfully compiled and tested a...
OpenJDK and DrJava
Dr. Java installation version, not as .exe
Listo!! al cambiarlo a jdk funciono correctamente, gracias por la ayuda Robert Cartwright.
No puedo hablar espanol muy bien pero este problema es sencillo: DrJava no funciona con Java 11. Es necesario usar Java 8. La organizacion del Java SDK cambio' en Java 9. Ya se puede obtener Java 8. Lo siento, Robert Cartwright On Sun, May 5, 2019 at 1:52 PM wilfredo barquero shinigamiliw@users.sourceforge.net wrote: Esta es la ventanilla con el error Attachments: Selección_001.png https://sourceforge.net/p/drjava/support-requests/_discuss/thread/f41fad2c63/2336/attachment/Selecci%C3%B3n_001.png...
Esta es la ventanilla con el error
No se puede inicar el programa inmediatamente salta ese error y para su ejecucion
Error al iniciar Drjava en ubuntu
drJava fonts issu
I ran the program on a Windows machine and it worked, so I assume it was something to do with the OS and the way Macs handle printing. Thank you for offering to help, but I think I'll just work from the other machines in the lab. I was just wondering if anyone with a Mmac had run into problems with save to PDF, as it also does not work on saving the code itself (not just the output report, but the actual code).
Hi Christian, I have never used the ReportPrinter library class. Does your program run from the command line? If you send me the source code for your program (as an attachment?) I can try running it on my Linux and Windows machines. I no longer use Macs for a variety of reasons. I don't own one personally and we no longer have any Macs in my research lab. Best, Corky On Fri, Nov 9, 2018 at 3:00 PM Christian halt19@users.sourceforge.net wrote: Sorry about the formatting issues regarding the code....
Sorry about the formatting issues regarding the code.
DrJava won't save to PDF (mac)
I can't open DrJava
DrJava is incompatible with Java 9 and Java 10. After Java 8, Oracle completely changed the packaging of the JDK and JRE distributions of Java (which had been invariant since Java 1.2 [2] twenty years ago. We are working on a new version that is compatible with Java 9/10 but we no longer have any outside funding supporting DrJava development so it is being done in our "spare time". In the near term, you need to download a Java 8 JDK. I am currently running JDK 8 build 181 on my Linux laptop. I hope...
duplicate of [bugs:#973]
Most recent version of Java on Mac = can't open Dr. Java
Dr Java Jar file can't be launched with newest version of java OSX
Dr Java Jar file can't be launched with newest version of java OSX
I've downloaded the stable version drjava-stable-20120818-r5686.jar and this works. Shouldn't http://drjava.org/ default to downloading the stable version?
I've downloaded the stable version drjava-stable-20120818-r5686.jar and this works find. Shouldn't http://drjava.org/ default to downloading the stable version?
Cannot start DrJava on Mint Linux (Ubuntu based)
Running on Ubuntu 18.04--error upon start up