How to compile & run java programs & abt. installing windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody,

I am new to Linux. I am using a RedHat ver.9 Linux box. I tried to compile a java program (a simple one)using built-in compiler gcc i got the following error message:
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18):In function '_start':
../sysdeps/i386/elf/start.S:77: undefined reference to 'main'
/temp/ccAPzk10.o(.text+0xf):In function 'Welcome1::main(JArray<java::lang::string*>*)':undefined reference to '_Jv_InitClass'
/temp/ccAPzk10.o(.text+0x18):In function 'Welcome1::main(JArray<java::lang::string*>*)':undefined reference to 'java::lang::System::class$'
/temp/ccAPzk10.o(.text+0x2d):In function 'Welcome1::main(JArray<java::lang::string*>*)':undefined reference to 'java::lang::System::class$'
/temp/ccAPzk10.o(.text+0x32):In function 'Welcome1::main(JArray<java::lang::string*>*)':undefined reference to '_Jv_InitClass'
...(many more such errors)
 Is there a way i can compile & run java programs with built in tools that come with RedHat ver.9.

 Also i wish to install windows Xp on my box. During installation of Redhat i choose the automatic option when asked about partioning the drive. It made a clean installation by formating & automatically repartion the drive with three partions a swap, a ext3 usr drive and a boot drive. I hae lots of data loaded on to it. Now i want to install XP without affecting the data in the Hard Disk. Can somebody tell me how to do it or point to resources containing information on how to do this.

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux