-
JavaIDE With Knoppix
Is there anyway to get/install/integrate a Java IDE in Knoppix? I run a high school java programing class, and Knoppix would be perfect!
I'm not very good at Linux, so I would have no idea where to start when making a custom Knoppix cd. Can anyone here help? I was interested in integrating Borland JBuilder Personal (free).
-
Senior Member
registered user
I have a CD with IBM Eclipse on it, but it loads up very slowly. Please see my website listed below!
BTW, you don't really need an IDE. I use a text editor to write code for Java (like KATE) and a console window to run javac and java (like KONSOLE). If you're running an applet, write the appropriate *.html file to load it and open from a browser (like KONQUEROR). That's all I use!
NB: javac and java on the KNOPPIX CD are really running an open source Java from the GCC project http://gcc.gnu.org called gcj. I currently teach AP Computer Science using KNOPPIX and g++ from gcc. J2SE 1.4.1 (JDK) is not open source, so its not included in KNOPPIX. The JRE is from Blackdown Java 1.3.
Good Luck,
-
I'm working with beginer kids, and they can't handle a straight text editor. They need a more advanced development package, with features like intellisense.
As for the cd with IBM Eclipse, I don't see it on your site. Also, if it is on your site, could you just transfer it to me? I'm on broadband, and even $10 is more then my school wants to put out for technology these days.
-
Does Knoppix include any JavaX classes? Javax says the swing class isn't there. Here is my app:
import javax.swing.*;
import java.text.*;
public class Average2 {
public static void main (String[] args) {
double num1, num2, num3, avg;
String input;
DecimalFormat db = new DecimalFormat("###.00");
input = JOptionPane.showInputDialog("Enter a number:");
num1 = Double.parseDouble(input);
input = JOptionPane.showInputDialog("Enter a number:");
num2 = Double.parseDouble(input);
input = JOptionPane.showInputDialog("Enter a number:");
num3 = Double.parseDouble(input);
avg = (num1 + num2 + num3) / 3.0;
JOptionPane.showMessageDialog (null, "The average is " + df.format(avg), "Average Computation", JOptionpage.INFORMATION_MESSAGE);
System.exit(0);
}
}
The error:
Average2.java:1: Can't find default package `javax.swing'. Check the CLASSPATH environment variable and the access to the archives
1 error
-
Senior Member
registered user
I've tried the standard classes plus java.awt.* and java.applet.* - I don't think that javax is fully supported yet. I haven't had a chance to test swing.
However, they're adding to the GCC project every day! Not too long ago, KNOPPIX had a version of gcj that didn't even implement awt or applet yet!
BTW, every time Klaus Knopper updates KNOPPIX, it includes the latest versions of all included packages.
Regards,
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
A. Jorge Garcia
they're adding to the GCC project every day
Hmm... so the JDK isn't installed in Knoppix? My students are used to using swing, and I feel that something else would put them off track (they only really know simple vb, and swing is close to VB's msgbox).
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
A. Jorge Garcia
I have a CD with IBM Eclipse on it, but it loads up very slowly. Please see my website listed below!
Thanks! I will try it.
![Quote](images/misc/quote_icon.png)
Originally Posted by
A. Jorge Garcia
BTW, you don't really need an IDE. I use a text editor to write code for Java (like KATE) and a console window to run javac and java (like KONSOLE). If you're running an applet, write the appropriate *.html file to load it and open from a browser (like KONQUEROR). That's all I use!
It depends what "really" means to you. You really could solve any computational problem with a simple turing machine and a long string of 0-s and 1-s - it's proven! But its impractical. Your way is fine for typing in a "hello world" program from a textbook and maybe the next 2, 3 examples. It-s also fine for educational purposes where students have to learn coding discipline
I am a professional java developer and do rarely work from scratch. Unually there is a large program to maintain, written by others; and a huge library with 1000-s of classes to use. I need an ide like eclipse, jbuilder or netbeans for efficient work, which supports code completion with integrated javadoc display and a graphical debugger with thread support and expression evaluation, to mention the most important ide features.
The ide-s mentioned above are quite fine, but slow. KDeveloper is contained in the knoppix distribution and very nice for C++ programming - somewhere I read about a java integration module for KDeveloper. Does anyone know how to use/configure KDeveloper as a java ide in knoppix?
-
Senior Member
registered user
Yes, of course you are correct. However, we were talking about utilites for teaching students preAP and AP CompSci in High School. For this purpose, KATE/KONSOLE/KONQUEROR is fine. All I miss is swing....
BTW, the CD I have available thru my website with IBM Eclipse on it is the one with the Java re-master.
Regards,
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
![Cisco Nexus 9300 48-Port 25GbE SFP 6x100GbE QSFP Switch P/N: N9K-C93180YC-EX picture](/store/img/1RkAAOSwPABmkW20/s-l225//Cisco-Nexus-9300-48-Port-25GbE-SFP-6x100GbE-QSFP-S.jpg)
Cisco Nexus 9300 48-Port 25GbE SFP 6x100GbE QSFP Switch P/N: N9K-C93180YC-EX
$499.99
![Cisco WS-C3850-12X48U-L 48 Port 10/100/1000 Modular Uplink Switch-Same Day Shipp picture](/store/img/lBwAAOSwI~9lEfW-/s-l225//Cisco-WS-C3850-12X48U-L-48-Port-10-100-1000-Modula.jpg)
Cisco WS-C3850-12X48U-L 48 Port 10/100/1000 Modular Uplink Switch-Same Day Shipp
$198.99
![Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch picture](/store/img/d3AAAOSw35dlrsCo/s-l225//Cisco-Nexus-N9K-C92160YC-X-48P-25GbE-SFP28-6P-QSFP.jpg)
Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch
$475.00
![Cisco Nexus N9K-C9372TX 48P 10G Gigabit Ethernet 6x QSFP+ 40G Switch 2x650W PSU picture](/store/img/jzAAAOSwRq9k-jYg/s-l225//Cisco-Nexus-N9K-C9372TX-48P-10G-Gigabit-Ethernet-6.jpg)
Cisco Nexus N9K-C9372TX 48P 10G Gigabit Ethernet 6x QSFP+ 40G Switch 2x650W PSU
$199.99
![C3850-NM-2-10G CISCO 2 x 10GE Network Module 73-12734-06 picture](/store/img/htEAAOSwt1RmnaGX/s-l225//C3850-NM-2-10G-CISCO-2-x-10GE-Network-Module-73-12.jpg)
C3850-NM-2-10G CISCO 2 x 10GE Network Module 73-12734-06
$24.99
![New Sealed Cisco GLC-SX-MMD 1000BASE-SX Transceiver Module *US Shipping* picture](/store/img/m7EAAOSwMSNlzEVH/s-l225//New-Sealed-Cisco-GLC-SX-MMD-1000BASE-SX-Transceive.jpg)
New Sealed Cisco GLC-SX-MMD 1000BASE-SX Transceiver Module *US Shipping*
$11.00
![Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture](/store/img/yEAAAOSwxVReIhma/s-l225//Cisco-C3850-NM-2-10G-2-Port-Network-Exp-Module-for.jpg)
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$30.99
![NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture](/store/img/Tb4AAOSwmeVlqJuU/s-l225//NEW-Sealed-Cisco-SFP-10G-LR-10GBASE-LR-SFP-1310nm-.jpg)
NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$18.00
![Cisco WS-C3750X-48PF-S 48 Port PoE Gigabit Switch w/ C3KX-NM-10G & Dual 1100WAC picture](/store/img/dXYAAOSwqEBinnAI/s-l225//Cisco-WS-C3750X-48PF-S-48-Port-PoE-Gigabit-Switch-.jpg)
Cisco WS-C3750X-48PF-S 48 Port PoE Gigabit Switch w/ C3KX-NM-10G & Dual 1100WAC
$114.88
![Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch + NM-8X Module picture](/store/img/adoAAOSwyBpmPhv-/s-l225//Cisco-Catalyst-C9300-24UX-A-24-Port-10G-mGig-UPOE-.jpg)
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch + NM-8X Module
$549.97