LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-12-2004, 11:12 PM   #1
jxn
LQ Newbie
 
Registered: Apr 2004
Distribution: none
Posts: 22

Rep: Reputation: 15
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.
 
Old 04-12-2004, 11:28 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
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
 
Old 04-13-2004, 03:27 AM   #3
C++Boar
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo
Posts: 68

Rep: Reputation: 16
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.
 
Old 04-13-2004, 04:44 AM   #4
jxn
LQ Newbie
 
Registered: Apr 2004
Distribution: none
Posts: 22

Original Poster
Rep: Reputation: 15
when installing knoppix, do i need to make a partition for it?

this is really confusing.
 
Old 04-13-2004, 04:59 AM   #5
C++Boar
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo
Posts: 68

Rep: Reputation: 16
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.
 
Old 04-13-2004, 06:35 AM   #6
jxn
LQ Newbie
 
Registered: Apr 2004
Distribution: none
Posts: 22

Original Poster
Rep: Reputation: 15
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.
 
Old 04-13-2004, 06:47 AM   #7
C++Boar
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo
Posts: 68

Rep: Reputation: 16
I know nothing about slax or which jave to take - I hope others can help you.
Good luck with it.

C++Boar
 
Old 04-13-2004, 07:10 AM   #8
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
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
 
Old 02-11-2005, 07:53 AM   #9
mily
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 02-11-2005, 10:30 AM   #10
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
Here is how you install Java SDK and Eclipse:


Java SDK
Eclipse IDE

Last edited by csfalcon; 06-09-2008 at 11:38 AM.
 
Old 02-15-2005, 08:01 AM   #11
mily
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 02-15-2005, 09:59 AM   #12
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
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.
 
Old 02-15-2005, 11:42 AM   #13
mily
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get java in linux bruce3au Linux - General 2 10-07-2005 01:23 PM
linux + java alaios Linux - Software 7 07-26-2005 05:27 PM
JAVA:(jwstric2) Problems in JAVA-LINUX nedian123 Programming 1 06-28-2004 05:12 PM
Java for linux Odin_of_Asgard Programming 8 04-12-2004 09:59 PM
Linux and Java + Java Media Framework (JMF) perry Programming 0 11-03-2003 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration