Java for mac os x version 83/9/2023 ![]() Looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. It turned out that brew had created a ~/.bash_profile file and the bash shell (from the bash man page): The JAVA_HOME environment variable was set in ~/.profile:Įxport MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128M"Įxport JAVA_HOME=`/usr/libexec/java_home -v 1.7`īut it was not exported. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Homeĭefault locale: en_US, platform encoding: MacRoman Java version: 1.6.0_41, vendor: Apple Inc. Maven home: /usr/local/Cellar/maven/3.0.4/libexec ![]() Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode) ![]() Java(TM) SE Runtime Environment (build 1.7.0_11-b21) Both Java 6 and Oracle Java 7 was installed on the system with the default JVM set to Java 7: I had a Mac with OS X Mountain Lion (10.8.2) and Maven 3.0.4 (Maven installed using “brew install maven”). Recently I switched to Java 7 and then ran into a couple of issues.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |