Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-12-2004, 11:12 PM
|
#1
|
LQ Newbie
Registered: Apr 2004
Distribution: none
Posts: 22
Rep:
|
linux for java
ehllo,
can anyone recommend a good linux distro that i can use for java programming?
ive read some posts and find installing linux daunting. i just want to install a linux system with the least fuss so i can just focus on java.
i already know some basic commands like ls, etc.
i was thinking of using morphix or knoppix or Fedora or Mandrake 10.
1. which do you think is best? by best i mean the least fuss and not loaded with stuff that i probably would never need.
2. do they come with a java compiler?
3. Mandrake and Fedora looks nice but they have so many iso's. do i need to download it all? is it free?
4. if i should choose knoppix, should i create a partition so that i will be able to save my files to my harddisk? what filesystem should it be? fat32?
5. recommended books/links?
6. I am planning to use Eclipse as my IDE. will this be an issue? I hear that KDE and gnome are incompatible with each other.
Last edited by jxn; 04-12-2004 at 11:15 PM.
|
|
|
04-12-2004, 11:28 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038
Rep:
|
kde and gnome are not compatible because they use different libraries, kde uses the QT toolkit for its appa, while gnome uses GTK as its toolkit
I'm sure you can install both QT and GTK toolkits and most apps should then work, maybe need a few more libraries they use?, i dono, the major difference is just those toolkits
as for java compiler, doesn't the www.sun.com website supply a compiler (as well as many other useless tools) with is java environment,
if not gcc comes with a java compiler to use
as for the iso problem, you only need a few of them, i think the first one is the install, while the rest are a lifetime supply of recompiled software for your use
|
|
|
04-13-2004, 03:27 AM
|
#3
|
Member
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo
Posts: 68
Rep:
|
1) You must decide yourself. I have tried em. I am using Mandrake 10, but I have had a fight getting some stuff to work.
2) Yes I guess so (maybe you will have to make sure it is installed)
3) Yes and Yes.
4) Mandrake 10, Fedora and Knoppix can all read/write fat 32. (default)
Mandrake 10 and knoppix can read NTFS. They might also be able to write files
to NTFS, but this is not recommended ...
5) I like the 'C++ programming language' but since you are a java-guy I dont know.
6) You can (often) use gnome programs on KDE and the other way around, but they are 2 different system. Working 2 different ways.
PS : I can recommend kdevelop (for KDE)
Last edited by C++Boar; 04-13-2004 at 03:35 AM.
|
|
|
04-13-2004, 04:44 AM
|
#4
|
LQ Newbie
Registered: Apr 2004
Distribution: none
Posts: 22
Original Poster
Rep:
|
when installing knoppix, do i need to make a partition for it?
this is really confusing.
|
|
|
04-13-2004, 04:59 AM
|
#5
|
Member
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo
Posts: 68
Rep:
|
Knoppix normally boots from CD. To make it boot faster you can put a image on a win-drive.
I think it is also possible to install programs without a real installation.
(But I dont know how - but think it is possible with FAT)
But a "real install" - promt knx-hdinstall needs a ext3 (or ext2) partition.
|
|
|
04-13-2004, 06:35 AM
|
#6
|
LQ Newbie
Registered: Apr 2004
Distribution: none
Posts: 22
Original Poster
Rep:
|
i finally decided to download slax its only a 173mb download. i wanted to try out knoppix but it was pretty big 700mb!
i'm thinking if slax works on my laptop presario 2584 then knoppix should be okay as well.
http://slax.linux-live.org
a follow-up question though;
the java 1.4 sdk for linux has two options the RPMs and Bin. Which one should i choose?
im gonna download it using my windows xp and save to my harddisk which is NTFS, will i be able to use it even if its inside an NTFS drive?
i understand that slax can read NTFS so Im hoping it should be ok.
|
|
|
04-13-2004, 06:47 AM
|
#7
|
Member
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo
Posts: 68
Rep:
|
I know nothing about slax or which jave to take - I hope others can help you.
Good luck with it.
C++Boar
|
|
|
04-13-2004, 07:10 AM
|
#8
|
Member
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632
Rep:
|
It will not matter which distro you use. I use Fedora and it works fine.
Try downloading netbeans from the SUN site.
It is about 80meg and includes the latest SDK as well as the netbeans IDE.
very good program and very easy to install.
-jax
|
|
|
02-11-2005, 07:53 AM
|
#9
|
LQ Newbie
Registered: Feb 2005
Posts: 3
Rep:
|
mandrake10.0 eclipse
hello,
I have installed the jkd on my mandrake 10.0 BUT
I cannot compile the jar file:
[emilie@gemppm303-pc07 FileChooserDemo]$ java -jar FileChooserDemo.jar
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: FileChooserDemo.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.4.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.4.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.4.0.0)
at __libc_start_main (/lib/tls/libc-2.3.3.so)
And also I cannot install eclipse
please ///// if you can help me ///
mily
|
|
|
02-11-2005, 10:30 AM
|
#10
|
Member
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269
Rep:
|
Here is how you install Java SDK and Eclipse:
Java SDK
Eclipse IDE
Last edited by csfalcon; 06-09-2008 at 11:38 AM.
|
|
|
02-15-2005, 08:01 AM
|
#11
|
LQ Newbie
Registered: Feb 2005
Posts: 3
Rep:
|
eclipse and csfalcon.com
I have tried to install eclipse following the instruction of www.csfalcon.com
and
I edited /etc/prolfile but after impossible to "source"
[root@gemppm303-pc07 etc]# source /etc/profile
bash: TMOUT: readonly variable
mhmhmhm ?
I am lost now............;
and eclipse does not run...
if somebody have an idea ???
thanks !!!
emilie
l
|
|
|
02-15-2005, 09:59 AM
|
#12
|
Member
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269
Rep:
|
Look in your /etc/profile to see if TMOUT is being set somewhere. From the error it looks like you are setting it when you shouldn't, but I have never seen this error before.
|
|
|
02-15-2005, 11:42 AM
|
#13
|
LQ Newbie
Registered: Feb 2005
Posts: 3
Rep:
|
eclipseand CSfalcon
hello,
I have managed to install my SDK ( In don't know how ....)
[mily@gemppm303-pc10 mily]$ java -version
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)
BUT
I cannot run eclipse :
[mily@gemppm303-pc10 mily]$ eclipse
Warning: -os not understood. Ignoring.
Warning: -ws not understood. Ignoring.
Warning: -arch not understood. Ignoring.
Warning: -showsplash not understood. Ignounderstood. Ignoring.
Warning: -ws not g.
Warning: -exitdata not understood. Ignoring.
Warning: -vm not understood. Ignoring.
Warning: -vmargs not understood. Ignoring.
I wonder if there is not a conflict with the gcj already on my mandrake 10.0.....
bouhHHHHHHHHHHHHHHHHH
I really fell stupid this time !!!
if somebody have an idea ....
thanks again
mily
|
|
|
All times are GMT -5. The time now is 08:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|