maran
Newbie level 5
Hello linux freaks and friends..
I am a newbie..
I am using Fedora core 8..
I have installed Fedora 8 with all the packages(full complete installation)
Now the problem is that i cant compile java files in fedora core 8..
my file name is example.java
when i type
[maran@fedora8 works]$ javac example.java
/*the following error appears*/
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
what should i do?
i searched many forums.. i cant find.. i am new to the linux world as well this forum,,
if this question is already discussed in this pl give me the link..
somebody pl help me answering the question here itself..
i am ready to post here anything you ask like PATH etc..
[maran@fedora8 works]$ which java
/usr/bin/java
[maran@fedora8 works]$ java -version
java version "1.5.0"
gij (GNU libgcj) version 4.1.2 20070925 (Red Hat 4.1.2-33)
[maran@fedora8 works]$ type -a javac
javac is /usr/bin/javac
[maran@fedora8 works]$ type -a java
java is /usr/bin/java
[maran@fedora8 works]$ echo $PATH
/usr/lib/qt-3.3/bin:/usr/kerberos/bin:
/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:
/INSTALL/Ns2/ns-allinone-2.31/bin:
/INSTALL/Ns2/ns-allinone-2.31/tcl8.4.14/unix:
/INSTALL/Ns2/ns-allinone-2.31/tk8.4.14/unix:
/home/maran/bin:/INSTALL/Ns2/ns-allinone-2.31/bin:
/INSTALL/Ns2/ns-allinone-2.31/tcl8.4.14/unix:
/INSTALL/Ns2/ns-allinone-2.31/tk8.4.14/unix
/* i have NS2 thats the reason for these commands*/
if there is anything missing pl tell me what to type?
any help will ve greatly appreciated....
pl help meeeeeee its required for my final year project..
Regards..
Maran G
I am a newbie..
I am using Fedora core 8..
I have installed Fedora 8 with all the packages(full complete installation)
Now the problem is that i cant compile java files in fedora core 8..
my file name is example.java
when i type
[maran@fedora8 works]$ javac example.java
/*the following error appears*/
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
what should i do?
i searched many forums.. i cant find.. i am new to the linux world as well this forum,,
if this question is already discussed in this pl give me the link..
somebody pl help me answering the question here itself..
i am ready to post here anything you ask like PATH etc..
[maran@fedora8 works]$ which java
/usr/bin/java
[maran@fedora8 works]$ java -version
java version "1.5.0"
gij (GNU libgcj) version 4.1.2 20070925 (Red Hat 4.1.2-33)
[maran@fedora8 works]$ type -a javac
javac is /usr/bin/javac
[maran@fedora8 works]$ type -a java
java is /usr/bin/java
[maran@fedora8 works]$ echo $PATH
/usr/lib/qt-3.3/bin:/usr/kerberos/bin:
/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:
/INSTALL/Ns2/ns-allinone-2.31/bin:
/INSTALL/Ns2/ns-allinone-2.31/tcl8.4.14/unix:
/INSTALL/Ns2/ns-allinone-2.31/tk8.4.14/unix:
/home/maran/bin:/INSTALL/Ns2/ns-allinone-2.31/bin:
/INSTALL/Ns2/ns-allinone-2.31/tcl8.4.14/unix:
/INSTALL/Ns2/ns-allinone-2.31/tk8.4.14/unix
/* i have NS2 thats the reason for these commands*/
if there is anything missing pl tell me what to type?
any help will ve greatly appreciated....
pl help meeeeeee its required for my final year project..
Regards..
Maran G