- In the preferences menu deselect: Java > Editor > Typing > Escape text when pasting into a string literal
- Disable smart insert mode: Edit > Smart Insert Mode [Ctrl+Shift+Insert]
Access restriction: The type Pane is not accessible due to restriction on required library C:\Program Files\Java\jre8_0\lib\ext\jfxrt.jar
# Disable just smart dashes defaults write -g NSAutomaticDashSubstitutionEnabled 0 # Disable just smart quotes defaults write -g NSAutomaticQuoteSubstitutionEnabled 0 # To re-enable, set either back to 1.
/usr/libexec/java_home -V, you can see the java home like below:
Matching Java Virtual Machines (1):
1.8.0_20, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home
/Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home<string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/java</string>to the proper location.
xattr -d com.apple.quarantine /Applications/eclipse/Eclipse.app/
xattr /Applications/eclipse/Eclipse.app/
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
@SuppressWarnings("unchecked")
@SuppressWarnings({"unused", "unchecked"})
Class not found: javac1.8could happen. Because Apache Ant versions less than 1.9.0 - are not compatible with Java 8. The solution could be
<target name="compile">
<javac srcdir="src" destdir="build/classes" source="1.6" target="1.6" compiler="javac1.7" >
<classpath>
<fileset dir="lib">
<include name="*.jar" />
</fileset>
</classpath>
</javac>
</target>
vi /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse.iniinsert the following lines before -vmargs:
-vm /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/bin/java -vmargs
<project>
... ...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
</project>