I don't have a solution to the path, however, the knoppix 5.0.1 has an appletviewer and the javac compiler can do your Rectangle applet and more!
Hi All,
Hope you can help me. Its that time of year again for my AP Computer Science students. They just took all their AP exams and now I thought I'd do a final project with them on graphics.
The problem is that we are now using JDK 1.5.1 from java.sun.com and have trouble with viewing our applets (Graphical Apps run fine). Last year we did fine with JDK 1.4. Our applets ran fine from an *.html file on line when viewed in Konqueror or Mozilla. In JDK 1.4 we used to use java.awt.applet. Now in JDK 1.5, we're using javax.swing.JApplet. This new code compiles fine with javac and runs fine with appleviewer, but will not run in Konqueror or Mozilla!
BTW, JApplets run fine from my WimpDoze box! Sorry, I had to say it. For example:
ftp://ftp.baldwinschools.net/calcpag...gleApplet.html
Also, the older applets based on JDK 1.4 run in Konqueror and mozilla fine. For example:
ftp://ftp.baldwinschools.net/calcpag...unk/index.html
I'm thinking that the JRE plug-ins for both Konqueror and Mozilla that come on the KNOPPIX 4.0.2CD do not support JRE 1.5? If so, how do I remedy this with a minimum of fuss? BTW, I'm running hard disk installed so I could also install JDK 1.5.1 on my server for class.
TIA,
AJG
I don't have a solution to the path, however, the knoppix 5.0.1 has an appletviewer and the javac compiler can do your Rectangle applet and more!
I wonder if the 5.0 CD will be available soon and if it will have this java support?
Thanx,
AJG
The CD was on the BitTorrent server last Friday, just a little after the DVD. I just talked to a friend who downloaded it today with BT in 20 minutes (he has a very fast pipe). I'm not sure about java though, but from the change log things look good:Originally Posted by A. Jorge Garcia
Code:- [CD] because of space reasons :-( , removed chromium, enigma, KDE-helpfiles, ruby, bison and some other development-related packages (we still have JAVA and C/C++, Perl, Python and PHP on the CD, in order to have an easy to set up LAMP system).
OK, but is this the standard java.sun.com jdk 1.5.1 or that Blackdown version? Blackdown was fine except when it came to doing graphics and applets....
Regards,
AJG
I have no clue, I don't do java.
---
Verifying of md5 checksum and burning a CD at slow speed are important.
my bad, I have the 5.0.1CD version
Well it's only this version
# java -version
java version "1.4.2_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)
Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)
However, the java can do (Graphics g), applets, JOptionPane and listeners!
appletviewers and javac anywhere.
BTW, the appletviewer is here:
/usr/lib/j2se1.4-sun/bin/appletviewer
That's strange. Someone just gave me a copy of the 5.0 CD and javac -version returned and error. This tells me that the javac on the CD is still the blackdown version. Are you using the CD or the DVD? Try javac -version and see what you get for the JDK(you did java -version, that's the JRE).
BTW, can you run my sample JApplet (RectangleApplet) linked above with the 5.0 CD?
TIA,
AJG

Atari 800 Home Computer System 800 Untested
$95.00
Vintage Atari 410 Program Recorder CIB Open Box Appears Unused 400 800
$194.99
DEFECTIVE Atari 810 Vintage Computer Disk Drive powers on Unit Only Boo G3D
$55.24
ATARI 800 XL 8-Bit Computer w/ Power Supply
$169.00
PERCOM RFD40-S1 Floppy Disk Drive for Atari 400/800/XL Computer UNTESTED
$100.00
Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working
$99.99
Atari Jumbo Jet Pilot Vintage Floppy Disk Software Lot w/ 2 Disks
$29.99
Atari ST Boot Disk SH CA026391-053 Rev 8 TESTED 1985 Made Japan Original
$44.95
Vintage Atari 800 Computer + 1050 Disk Drive Manuals Games Software Cables Power
$349.00
Atari 1040ST Computer System SM124 Monitor Megafile 60 SLMC804 Bundle W/ Boxes
$849.00