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

From: ashwin iyengar (ashwin_chn_at_scientist.com)
Date: 06/30/04

  • Next message: Ryan Golhar: "Customizing Menus"
    To: redhat-list@redhat.com
    Date: Wed, 30 Jun 2004 13:13:09 -0500
    
    

    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@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Ryan Golhar: "Customizing Menus"

    Relevant Pages