Skip to content
Advertisement

Tag: macos

Mac OS X and multiple Java versions

How can I install an additional java on MacOS? I installed jdk8 and that works fine. But now I need a jdk7 installation for development purposes. When trying to install the old version via DMG file, i get a warning, that there is already a newer version of java installed and the installer quits. How to install jdk7 in addition

Swing application menu name not displaying correctly in Java 1.8

Okay, so I’ve done Swing applications before, and I know if you want to display a different name for the application menu (the one on Macs that usually have a “Preferences” and “Quit” option), you have to use: System.setProperty(“com.apple.mrj.application.apple.menu.about.name”, “App name”); and it must be executed before the JFrame is created. I’ve done this, but it continues to show my

Removing Java 8 JDK from Mac

So I installed the beta of JDK 8 a while ago to look at some of the examples. I thought for sure by now, it’s easy to change between versions. Doing some Play development with IntelliJ. For some reason, IntelliJ is compiling with 8 even though: I have the compiler set in Preferences to use 1.6 Supposedly it’s using SBT

Where is Java Installed on Mac OS X?

I just downloaded Java 7u17 on Mac OS 10.7.5 from here and then successfully installed it. In order to do some JNI programming, I need to know where Java installed on my Mac. I thought that inside the /Library/Java/JavaVirtualMachines/ folder, there would be a folder called 1.7.0.jdk or something, but then I found that the folder is empty. This was

Add the play script to your PATH in Mac

I’m not good with the terminal, so I have no idea what this means…. you should add the framework installation directory to your system PATH. On UNIX systems, this means doing something like: On Windows you’ll need to set it in the global environment variables. This means update the PATH in the environment variables and don’t use a path with

mac os java version from root is different

after installing jdk7u5 for mac os I got different java-versions for “normal” user and root. java -version gives me the 7. sudo java -version gives me the 6. I’ve looked up in the /System/Library/Frameworks/JavaVM.framework/Versions/ found that there are some links. After I resolved the links to the real Directory I tried it again with the whole path. /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java -version ->

Failed to locate method JNI_GetCreatedJavaVMs in the libjvm.dylib (Mac OS)

I am trying to embed java virtual machine in my program but I libjvm.dylib lacks JNI_GetCreatedJavaVMs. The program works fine both on Windows and on Linux platforms. However, when running on Mac OS I’m getting: exception. I use libjvm.dylib located in /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries directory. I think the issue is in using the wrong libjvm however, I was unable to find it

Advertisement