

How to use it First, you have to display the PlantUML View (click the Window menu): This view displays.

If an app or webpage you want to use asks you to install Java software, you can download the current version of Java for OS X directly from Oracle's website. Like the core library PlantUML itself, it is open source and the plugin is distributed under EPL license. Download Java for OS X directly from Oracle. In our demo we are using Eclipse Luna 4.4.2 version which supports compiler compliance level up to Java 8 i.e 1.8. in menu), select your projects configuration, and on the main page make sure, that for runtime also a Java SE 6 VM or execution environment is selected. The Eclipse Plugin is developed and maintained by Hallvard Trtteberg (many thanks for his work). The compiler compliance level in eclipse is available only up to that level of java version for which our eclipse version supports. This has to be done manually, as Eclipse does not look for additional VMs after the first launch.Īfter the JRE is installed, update your project settings: right click on your project, select Properties, and in the Java build path page make sure that Java 6 is set as the JVM on the build tab - if not, then edit the entry, and select a Java VM 6 execution environment.įinally (this step might not be needed), open the Run configuration, (Run/Run configurations.

classes compiled with Java 6 can be incompatible with Java 5 because of different byte code version).įirst of all, open Preferences, and go to the Java/Installed JRE's page, and make sure that the newly installed Java 6 is available here. As you said, you did not manage to set the default JRE version in Eclipse - this might be a problem, as simply adding the Java 6 libs might not work (e.g.
