coolmaniac Posted February 14, 2005 Report Share Posted February 14, 2005 Hi all , i want to setup j2se on my mandrake 10.1 box . Is there any java setup file specifically for mandrake ?? I also i want a lightweight IDE for java on linux (mandrake 10.1).. my PC config: Pentium 2 400 MHZ , 128 MB ram Intel 440 BX , Riva TNT video card + voodoo2 graphic accelerator. Thanks in advance. [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
Guest anon Posted February 14, 2005 Report Share Posted February 14, 2005 There is if you pay to join mdk club, but this should work fine: http://java.sun.com/j2se/1.5.0/download.jsp Quote Link to comment Share on other sites More sharing options...
JeffSmdk Posted February 14, 2005 Report Share Posted February 14, 2005 The minimum memory requirements for NetBeans, according to Sun's website, is 384 megs. Also, every attempt I've made at running Eclipse on my 300MHz cpu, 228 meg memory machine has completely locked it up. Trouble is that most Java IDE's are written in Java itself, and use either Swing, SWT, or AWT for the GUI frontend. These GUI toolkits, combined with the JVM, are big resource hogs (yes, even SWT, which references native GUI toolkits, but still has the Java wrappers running in the JVM). It's pretty sad that a Java IDE is such a hog. The good news is that you can write Java code with KDevelop, which is written in C++ and it runs natively, so it has minimal resource requriements. Java, running on the server side as J2EE, is very very powerful and hugely successful. But Java on the client side (desktops), quite simply stinks. Quote Link to comment Share on other sites More sharing options...
Guest emo_kid_joe Posted March 7, 2005 Report Share Posted March 7, 2005 I'm also trying to get Java working in mandrake 10.1, but no success so far. I'm a beginner to Linux, and somewhat confused why it's not working. javac works, but if I try using java to run a compiled class, I get the error Exception in thread "main" java.lang.NoClassDefFoundError: whatever/class . If I try java --help I get: Unrecognized option: --help Could not create the Java virtual machine. I'm using the JRE 1.5.0. Can someone help me, or tell me where i'm going wrong? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
swimmy Posted March 9, 2005 Report Share Posted March 9, 2005 I'm also trying to get Java working in mandrake 10.1, but no success so far. I'm a beginner to Linux, and somewhat confused why it's not working. javac works, but if I try using java to run a compiled class, I get the error Exception in thread "main" java.lang.NoClassDefFoundError: whatever/class . If I try java --help I get: Unrecognized option: --help Could not create the Java virtual machine. I'm using the JRE 1.5.0. Can someone help me, or tell me where i'm going wrong? Thanks in advance. <{POST_SNAPBACK}> ok I'm not sure if you already tried this so I'm just going to run through the steps I've taken to get java working on my machine. Don't get upset if I am going over something you already did or find trivial. First, I downloaded the latest JDK version from Java Development Kit unzipped it and ran the binary as root. I installed it in /opt/. Next, I edited the path to include my java installation directory (I'm not sure if this was the correct way but I edited my .bash_profile (whichever .bash file already has the PATH variable added) file to include the path). I also added a CLASSPATH variable and it looks like this PATH=/opt/jdk1.5.0_01/bin:/opt/firefox-installer/:$PATH:$HOME/bin CLASSPATH=.:$CLASSPATH Then I logged out and back in so that the changes would take effect. I did a test run with a simple program and it worked fine. Hope this helps Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.