贼烦人,不想学java,没办法,开了课程,硬上吧(SB!!!)
java很垃圾,不优雅,IDE内存泄露,占CPU,丑。。。
eclipse安装之后还要手动安装javadoc,麻烦:window->preferences->Java->Installed JREs->Your JRE->Edit->'C:\Program Files (x86)\Java\jre1.8.0_131\lib\rt.jar'->Javadoc Location->Javadoc in archive->Your javadoc Path.javadoc.zip->docs/api->Validate->OK!
在使用过程中,总是会有"The method format(String, Object[]) in the type String is not applicable for the arguments (String, int, int)"这种SB的错误出现,书上没有,在stackoverflow中找到,为:Set the default compiler to 1.6 or 1.7 Hope this will solve your issue。即:Window->Preferences->Java->Compiler->Compiler compliance level ->1.7(默认1.4)。。。
没有评论:
发表评论