当前位置: 代码迷 >> Java相关 >> 今天又一次装JCreator,还是老错误!
  详细解决方案

今天又一次装JCreator,还是老错误!

热度:188   发布时间:2013-01-15 18:38:39.0
今天又一次装JCreator,还是老错误!
   今天又一次装JCreator,还是老错误!求谁给个答案,是为什么!
   一运行程序就显示,下面的东西!每次都一样!!
   --------------------配置: myproject - <默认> - <默认>--------------------
命令   : "\bin\javac.exe" -classpath "D:\JCreator Pro3.50 010\MyProjects\myproject\" "D:\JCreator Pro3.50 010\MyProjects\myproject\myproject.java"myproject.javaD:\JCreator Pro3.50 010\MyProjects\myproject\D:\JCreator Pro3.50 010\MyProjects\myproject\myproject.java-classpath "D:\JCreator Pro3.50 010\MyProjects\myproject\" -d "D:\JCreator Pro3.50 010\MyProjects\myproject" "D:\JCreator Pro3.50 010\MyProjects\myproject\myproject.java"
目录 : "D:\JCreator Pro3.50 010\MyProjects\myproject"

Error : Invalid path, \bin\javac.exe -classpath "D:\JCreator Pro3.50 010\MyProjects\myproject" D:\JCreator" Pro3.50 "010\MyProjects\myproject\myproject.javamyproject.javaD:\JCreator Pro3.50 010\MyProjects\myproject\D:\JCreator Pro3.50 010\MyProjects\myproject\myproject.java-classpath D:\JCreator" Pro3.50 010\MyProjects\myproject" -d "D:\JCreator Pro3.50 010\MyProjects\myproject" "D:\JCreator Pro3.50 010\MyProjects\myproject\myproject.java"

处理已完成   
       我在dos下运行了“java -version "这个是没问题的!环境变量也设置好了!!!
        我编写的程序是这样的:
   class myproject{
         int age;
         void about()
         {
             //int age=60;
             System.out.println("我的年龄是"+age );
         }
         public static void main(String [] args)
         {
             myproject p1 = new myproject();
             myproject p2 = new myproject();
             p1.age = -30;
             p1.about();
             p2.about();
         }
         
         
         
    }
  

[ 本帖最后由 lizhigushuan 于 2013-1-15 18:41 编辑 ]
搜索更多相关的解决方案: 东西  今天  运行程序  

----------------解决方案--------------------------------------------------------
Jcreator装不了可以装其他的编译软件啊。。。装eclipse啊

----------------解决方案--------------------------------------------------------
dos下能编译就行了 JCreator不就是一个文本编译器吗 。软件编译你可以下载eclipse和netbeans啊
javac myproject
java myproject
----------------解决方案--------------------------------------------------------
我现在不想用eclipse
!全英文的!看不明白!
----------------解决方案--------------------------------------------------------