0
例如,當我運行mine.Test類時,控制檯的第一行是這個巨大的字符串,這意味着控制檯的水平滾動條太短。我怎樣才能阻止呢?IntelliJ Idea 12 - 防止打印到控制檯的程序參數
"C:\Program Files\Java\jdk1.7.0_17\bin\java" -Didea.launcher.port=7536 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.0.4\bin" -Dfile.encoding=UTF-8 -classpath "C:\Users\user\mydir\bin;C:\Users\user\mydir\lib\DTNConsoleConnection.jar;C:\Users\user\mydir\lib\ECLA.jar;C:\Users\user\mydir\jars\commons-math3-3.0.jar;C:\Users\user\mydir\jars\guava-12.0.1.jar;C:\Users\user\mydir\jars\mpj.jar;C:\Users\user\mydir\jars\commons-io-2.4.jar;C:\Users\user\mydir\jars\javageom-loweracc.jar;C:\Users\user\mydir\jars\jgrapht-jdk1.6.jar;C:\Users\user\mydir\jars\cplex.jar;C:\Users\user\mydir\jars\trove-3.0.3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.0.4\lib\junit-4.10.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\jfxrt.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\ext\zipfs.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.0.4\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain mine.Test
呵呵,不錯的技巧,我不知道這個功能是可配置的......謝謝:) – 2013-03-06 09:30:56