IntelliJ IDEA2016 Study Summary

Source: Internet
Author: User

Premise: I rookie a, welcome crazy black.

Online looking for information is basically all 15 ago, from 16 began to feel the interactive page changed a lot, so it is still very difficult to learn.

1, change Jdk,idea 2016 only support jdk1.8, (pro-Test) The local system must be installed 1.8. Then change the SDK to cheer jdk1.8 version in Idea's File-->project structure-->project settings-->project.

The version is too low to report the error:

Error:internal error: (java.lang.UnsupportedClassVersionError) org/jetbrains/jps/android/model/impl/ jpsandroidmodelserializerextension:unsupported Major.minor version 52.0java.lang.UnsupportedClassVersionError:org/jetbrains/jps/android/model/impl/jpsandroidmodelserializerextension:unsupported Major.minor version 52.0At Java.lang.ClassLoader.defineClass1 (Native Method) at Java.lang.ClassLoader.defineClass (classloader.java:800) at Java.security.SecureClassLoader.defineClass (Secureclassloader.java:142) at Java.net.URLClassLoader.defineClass (URLClassLoader.java:449) at java.net.urlclassloader.access$(urlclassloader.java:71) at java.net.urlclassloader$1.run (urlclassloader.java:361) at java.net.urlclassloader$1.run (urlclassloader.java:355) at java.security.AccessController.doPrivileged (Native Method) at Java.net.URLClassLoader.findClass (Urlclasslo Ader.java:354) at Java.lang.ClassLoader.loadClass (Classloader.java:425) at Java.lang.ClassLoader.loadClass (Classloader.java:358At JAVA.LANG.CLASS.FORNAME0 (Native Method) at Java.lang.Class.forName (Class.java:270) at Java.util.serviceloader$lazyiterator.next (Serviceloader.java:363) at java.util.serviceloader$1.next (serviceloader.java:445) at Com.intellij.util.containers.ContainerUtilRt.copy (Containerutilrt.java:179) at Com.intellij.util.containers.ContainerUtilRt.newArrayList (Containerutilrt.java:168) at Org.jetbrains.jps.plugin.impl.JpsPluginManagerImpl.loadExtensions (Jpspluginmanagerimpl.java:18) at Org.jetbrains.jps.service.impl.JpsServiceManagerImpl.getExtensions (Jpsservicemanagerimpl.java:59) at Org.jetbrains.jps.model.serialization.JpsModelSerializerExtension.getExtensions ( Jpsmodelserializerextension.java:46) at Org.jetbrains.jps.model.serialization.library.JpsSdkTableSerializer.getSdkPropertiesSerializer ( Jpssdktableserializer.java:208) at ORG.JETBRAINS.JPS.MODEL.SERIALIZATION.LIBRARY.JPSSDKTABLESERIALIZER.LOADSDK (Jpssdktableserializer.java: 102) at Org.jetbrains.jps.model.serialization.library.JpsSdkTableSerializer.loadSdks (Jpssdktableserializer.java :83) at Org.jetbrains.jps.model.serialization.jpsgloballoader$sdktableserializer.loadextension ( Jpsgloballoader.java:144) at Org.jetbrains.jps.model.serialization.jpsgloballoader$sdktableserializer.loadextension ( Jpsgloballoader.java:137) at Org.jetbrains.jps.model.serialization.JpsLoaderBase.loadComponents (Jpsloaderbase.java:61) at Org.jetbrains.jps.model.serialization.JpsGlobalLoader.loadGlobalComponents (Jpsgloballoader.java:83) at Org.jetbrains.jps.model.serialization.JpsGlobalLoader.load (Jpsgloballoader.java:73) at Org.jetbrains.jps.model.serialization.JpsGlobalLoader.loadGlobalSettings (Jpsgloballoader.java:59) at Org.jetbrains.jps.model.serialization.impl.JpsSerializationManagerImpl.loadModel ( Jpsserializationmanagerimpl.java:38) at Org.jetbrains.jps.cmdline.JpsModelLoaderImpl.loadModel (Jpsmodelloaderimpl.java:45) at Org.jetbrains.jps.cmdline.BuildRunner.load (Buildrunner.java:79) at Org.jetbrains.jps.cmdline.BuildSession.runBuild (Buildsession.java:267) at Org.jetbrains.jps.cmdline.BuildSession.run (Buildsession.java:125) at org.jetbrains.jps.cmdline.buildmain$mymessagehandler$1.run (buildmain.java:238) at org.jetbrains.jps.service.impl.sharedthreadpoolimpl$1.run (sharedthreadpoolimpl.java:44) at Java.util.concurrent.executors$runnableadapter.call (Executors.java:471) at Java.util.concurrent.FutureTask.run (Futuretask.java:262) at Java.util.concurrent.ThreadPoolExecutor.runWorker (Threadpoolexecutor.java:1145) at Java.util.concurrent.threadpoolexecutor$worker.run (Threadpoolexecutor.java:615) at Java.lang.Thread.run (Thread.java:744)
View Code

2, sometimes a single-machine right-click to run the program when found that there is no green icon below the option, because the program or jar package or dependencies are still loading, not loaded complete

3,maven project, when the first new MAVEN project or introduction, will load a lot of dependent jar package, it takes a long time

Action: Click Reimport all Maven Projects, will automatically load

The following image, in the bottom right corner of the entire interactive interface, is used to hide the action Bar on the edge of the interface

4, change the theme background color, specifically how to download the third party Theme jar package from the Internet, please refer to: http://jingyan.baidu.com/article/90895e0fcd5e1d64ec6b0bb9.html

The Scheme drop-down box in File->settings...->editor->colors&fonts will have a new theme added, select the corresponding Monokai theme. (if there are no newly added themes in the drop-down box, you can restart them again)

IntelliJ IDEA2016 Study Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.