P
pc_newbie
i am a newbie of java, can u please tell me how to compile and run this
example, because of "package" keyword, really don't know how to use it.
but no problems with simple java programs.
thanks
/* ViewFile.java */
package com.ora.rmibook.chapter1;
public class ViewFile {
public static void main(String[] arguments) {
(new ViewFileFrame()).show();
}
}
compilation result:
Z:\java\com\ora\rmibook\chapter1\CompressFile.java:6: cannot resolve symbol
symbol : class CompressFileFrame
location: class com.ora.rmibook.chapter1.CompressFile
(new CompressFileFrame()).show();
^
1 error
Tool completed with exit code 1
example, because of "package" keyword, really don't know how to use it.
but no problems with simple java programs.
thanks
/* ViewFile.java */
package com.ora.rmibook.chapter1;
public class ViewFile {
public static void main(String[] arguments) {
(new ViewFileFrame()).show();
}
}
compilation result:
Z:\java\com\ora\rmibook\chapter1\CompressFile.java:6: cannot resolve symbol
symbol : class CompressFileFrame
location: class com.ora.rmibook.chapter1.CompressFile
(new CompressFileFrame()).show();
^
1 error
Tool completed with exit code 1