View Poll Results: Are you using KNOPPIX as a compiler platform?

Voters
3. You may not vote on this poll
  • yes with g++ as student in high school or college

    0 0%
  • yes with javac as student in high school or college

    0 0%
  • yes with other as student in high school or college

    0 0%
  • yes with g++ as teacher or professor

    1 33.33%
  • yes with javac as teacher or professor

    0 0%
  • yes with other as teacher or professor

    0 0%
  • nope, what's a compiler?

    2 66.67%
Results 1 to 2 of 2

Thread: java SDK 1.4.1 from [url]www.sun.com[/url]

  1. #1
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256

    java SDK 1.4.1 from www.sun.com

    I started evaluating KNOPPIX iso's about a year ago with an eye toward using it to teach Java in AP Computer Science next year. At that time KNOPPIX was still not very user friendly (root access to use /mnt/floppy, etc) but it already showed a lot of promiss (2GB of apps due to on the fly decompression, auto detection, etc) so I kept my BigSlack Slackware Linux install to teach C++ (GCC g++).

    Also, KNOPPIX had Java JRE (for the browser) but not SDK (software developers' kit). I suggested to Klaus to add it in and I thought he hadn't. I could only compile a console app (no applet for the web or graphics) with GCC's gcj.

    Just for fun, I decided to write a HelloWorldApp.java (console app) and try javac. I was able to compile it to HelloWorldApp.class and interpret it with java HelloWorldApp. This much I was able to do with gcj, but now I used javac and everything worked.

    OK, so I tried an applet. I wrote HelloWorld.java (an applet, not a console app) importing java.applet.* and java.awt.* just to see what would happen. Well, I compiled this file with javac HelloWorld.java and had no error (this never worked before) and got HelloWorld.class.

    Now, I tried appletviewer HelloWorld.class and got a pile of errors, but eventually got the applet running. I then wrote a Hello.html file with the applet tag. When I clicked on Hello.html from the desktop folder, lo and behold, Konqueror ran it fine!

    Did I miss something here? Did Klauss add the SDK without telling anyone? When did this happen? All I know is none of this applet stuff worked with the July iso, but I was using the november one today (v3.1-2002-11-08-EN) and it was glorious!

    Thanx Klaus!

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    OOPs, I cannot compile applets with the Nov 2002 iso! A caring soul from the Netherlands remastered me a copy of the Oct 2002 iso where he added the SDK and mailed me a copy of his CD. I was using his when I got applets to work! Thanx Andrej.

    Anyway, his CD is perfect for my Java class next year. I don't have the facilities to remaster my own KNOPPIX CD, I wish.... So the question is how do I make an iso out of his CD so I can make multiple copies?

    Thanx,

Similar Threads

  1. java broke in 3.4?
    By drews in forum General Support
    Replies: 2
    Last Post: 07-09-2004, 03:45 PM
  2. Java
    By mystical_kakarot in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 02-10-2004, 09:20 PM
  3. Java development
    By Kethinov in forum General Support
    Replies: 3
    Last Post: 12-03-2003, 05:46 PM
  4. Java Where is it?
    By JAlvoeiro in forum General Support
    Replies: 9
    Last Post: 08-26-2003, 09:43 PM
  5. java
    By johncarlson21 in forum General Support
    Replies: 0
    Last Post: 03-22-2003, 03:39 AM

Posting Permissions

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


ASUS H310M-A R2.0 ATX LGA1151 DDR4 Desktop Motherboard USB 3.0 w/ I/O Shield picture

ASUS H310M-A R2.0 ATX LGA1151 DDR4 Desktop Motherboard USB 3.0 w/ I/O Shield

$39.99



Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th) picture

Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)

$59.99



ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture

ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard

$84.99



Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3  picture

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3

$23.99



ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



Asus H110M-K LGA 1151 DDR4 USB 3.0 Micro ATX Intel Desktop Motherboard w/IO picture

Asus H110M-K LGA 1151 DDR4 USB 3.0 Micro ATX Intel Desktop Motherboard w/IO

$34.95



Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture

Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard

$54.99



ASUS B85M-E Motherboard Intel B85 (4th Gen) LGA1150 DDR3 microATX picture

ASUS B85M-E Motherboard Intel B85 (4th Gen) LGA1150 DDR3 microATX

$39.99



Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM picture

Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM

$84.00



ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI picture

ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI

$99.99