-
Member
registered user
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.
-
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.
-
Member
registered user
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?
-
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
-
By rangalo in forum General Support
Replies: 8
Last Post: 06-15-2005, 12:32 PM
-
By rcs in forum General Support
Replies: 1
Last Post: 01-16-2005, 05:01 AM
-
By citpeks in forum The Lounge
Replies: 3
Last Post: 07-29-2004, 05:14 PM
-
By AS in forum General Support
Replies: 0
Last Post: 04-01-2004, 07:36 PM
-
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
-
Forum Rules
![Vintage Apple IIe 2e iie Personal Computer A2S2064 V1718 *TESTED AND WORKING* picture](/store/img/g/3AUAAOSw84lmF2~V/s-l225/Vintage-Apple-IIe-2e-iie-Personal-Computer-A2S2064.jpg)
Vintage Apple IIe 2e iie Personal Computer A2S2064 V1718 *TESTED AND WORKING*
$175.00
![Vintage Apple A2M2010 Monitor II, Green Phosper CRT picture](/store/img/g/LIMAAOSw1TxmaGy2/s-l225/Vintage-Apple-A2M2010-Monitor-II-Green-Phosper-CRT.jpg)
Vintage Apple A2M2010 Monitor II, Green Phosper CRT
$99.99
![Rare Vintage Apple Macintosh Powerbook 160 9.8](/store/img/g/HAQAAOSwVtdl7boT/s-l225/Rare-Vintage-Apple-Macintosh-Powerbook-160-9-8-Scr.jpg)
Rare Vintage Apple Macintosh Powerbook 160 9.8" Screen Laptop - UNTESTED
$54.99
![Macintosh Classic M0420 vintage apple computer TURNS ON WORKS picture](/store/img/g/wE0AAOSww6RmhHMp/s-l225/Macintosh-Classic-M0420-vintage-apple-computer-TUR.jpg)
Macintosh Classic M0420 vintage apple computer TURNS ON WORKS
$240.00
![Rare Vintage Apple 630-0101 128K/512K Macintosh Logic Motherboard - UNTESTED picture](/store/img/g/lxQAAOSwZUVmiLdO/s-l225/Rare-Vintage-Apple-630-0101-128K-512K-Macintosh-Lo.jpg)
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](/store/img/g/Ax4AAOSwunhmiK6K/s-l225/Serviced-Loaded-Vintage-Apple-Lisa-2-10-System-2mb.jpg)
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](/store/img/g/uz4AAOSwQWFmiKnf/s-l225/RARE-PROTOTYPE-Vintage-Apple-Computer-Lisa-2-10-Se.jpg)
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](/store/img/g/DCIAAOSwsfdmgYEX/s-l225/Apple-Computer-Vintage-sheet-of-1990s-rainbow-logo.jpg)
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](/store/img/g/mSoAAOSwSVZmaap5/s-l225/Vintage-Apple-Macintosh-512K-Mouse-Keyboard-Extras.jpg)
Vintage Apple Macintosh 512K / Mouse, Keyboard & Extras + Carry Case / Turns On
$260.00
![Vintage Apple IIe Computer A2S2128 (825-1351-A) picture](/store/img/g/8lAAAOSwtRhmYgoB/s-l225/Vintage-Apple-IIe-Computer-A2S2128-825-1351-A-.jpg)
Vintage Apple IIe Computer A2S2128 (825-1351-A)
$174.99