Results 1 to 4 of 4

Thread: Java development

  1. #1

    Java development

    Hi all.
    Can I develop and compile Java in Knoppix 3.3? Ideally I'd like to develop .java files from Kate and use some kind of compiler to create applets.

    Thanks.

  2. #2
    Junior Member
    Join Date
    Dec 2003
    Location
    US
    Posts
    3
    Yes. Over the weekend I introduced my brother to programming using the latest Knoppix ISO on my parent's computer. I was pleasantly suprised to find Sun's JRE v1.4.2 and the latest GCJ javac. We whipped up a quick AWT application and ran it without a hitch. We didn't try any applets, but I imagine Mozilla and/or Konqueror will handle them without any tweaking.

    Anyway, the thing to note is that the compiler is GCJ's javac and probably uses the GCJ classpath for compilation. This might be a problem if you need functionality that only Sun's SDK provides. In that case you'll need to install Sun's version on the hard disk. GCJ will probably suffice, though.

  3. #3
    So I'm assuming I can whip up .java files in Kate then open a shell and type javac myfile.java?

    Since it users Sun's JRE I'm assuming it supports Swing as well as AWT?

  4. #4
    Junior Member
    Join Date
    Dec 2003
    Location
    US
    Posts
    3
    So I'm assuming I can whip up .java files in Kate then open a shell and type javac myfile.java?
    Right. I use emacs, but otherwise that is exactly what I did.
    Since it users Sun's JRE I'm assuming it supports Swing as well as AWT?
    I didn't try doing anything in Swing, but probably. The only catch is that the GCJ classpath may not have a complete-enough version of Swing to compile against. If you can get it to compile, it will definitely run, though. Go ahead and try it.

    BTW, you can check the status of GCJ's classpath versus Sun's here:

    http://japi.sab39.org/htmlout/h-jdk14-libgcj.html

    However, that table shows implementation status as opposed to interface status, so even though the Swing implementation is clearly not done, the interfaces may be complete enough to compile against.

Similar Threads

  1. About learning game development !
    By rangalo in forum General Support
    Replies: 8
    Last Post: 06-15-2005, 12:32 PM
  2. Does even/odd mean stable/development verions ?
    By rcs in forum General Support
    Replies: 1
    Last Post: 01-16-2005, 05:01 AM
  3. C-language and Java development
    By citpeks in forum The Lounge
    Replies: 3
    Last Post: 07-29-2004, 05:14 PM
  4. KDevelop / c++ Development
    By AS in forum General Support
    Replies: 0
    Last Post: 04-01-2004, 07:36 PM
  5. Newbie: Using Knoppix for web development
    By HCSS in forum The Lounge
    Replies: 0
    Last Post: 03-13-2004, 09:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Vintage Apple IIe 2e iie Personal Computer A2S2064 V1718 *TESTED AND WORKING* picture

Vintage Apple IIe 2e iie Personal Computer A2S2064 V1718 *TESTED AND WORKING*

$175.00



Vintage Apple A2M2010 Monitor II, Green Phosper CRT picture

Vintage Apple A2M2010 Monitor II, Green Phosper CRT

$99.99



Rare Vintage Apple Macintosh Powerbook 160 9.8

Rare Vintage Apple Macintosh Powerbook 160 9.8" Screen Laptop - UNTESTED

$54.99



Macintosh Classic M0420 vintage apple computer TURNS ON WORKS picture

Macintosh Classic M0420 vintage apple computer TURNS ON WORKS

$240.00



Rare Vintage Apple 630-0101 128K/512K Macintosh Logic Motherboard - UNTESTED picture

Rare Vintage Apple 630-0101 128K/512K Macintosh Logic Motherboard - UNTESTED

$60.00



Serviced & Loaded Vintage Apple Lisa 2/10 System 2mb, SCSI, Parallel, X/ProFile picture

Serviced & Loaded Vintage Apple Lisa 2/10 System 2mb, SCSI, Parallel, X/ProFile

$6500.00



RARE PROTOTYPE - Vintage Apple Computer Lisa 2/10 - Service & X/ProFile Drive picture

RARE PROTOTYPE - Vintage Apple Computer Lisa 2/10 - Service & X/ProFile Drive

$9500.00



Apple Computer Vintage sheet of 1990s rainbow logo stickers 2 Sticker Sheet picture

Apple Computer Vintage sheet of 1990s rainbow logo stickers 2 Sticker Sheet

$4.80



Vintage Apple Macintosh 512K / Mouse, Keyboard & Extras + Carry Case / Turns On picture

Vintage Apple Macintosh 512K / Mouse, Keyboard & Extras + Carry Case / Turns On

$260.00



Vintage Apple IIe Computer A2S2128 (825-1351-A) picture

Vintage Apple IIe Computer A2S2128 (825-1351-A)

$174.99