Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

java on linux - newbie question

  Asked By: Jason    Date: Apr 23    Category: Java    Views: 1247
  

I've
completed the SL-275 course of Sun, but it was years before. I didn't
develop anything with Java. Now i think it's time, if not late, to improve
myself on it.

First i need the correct set of programs installed on my pc. I use Suse
8.1 at home, with its default JDK version. (I don't remember which)

I need a good IDE to work with. I installed Borland JBuilder 7, but if
there are any other suggestions, i'll give them a try. Maybe Eclipse? or
Sun One?

If i develop a standalone app with gui in linux, will i be able to make it
work on win32 platforms?

When i develop an applet, will i be able to test if it works fine with IE?
(I don't have an win32 partition, but maybe wine can make IE work..)

If there are any other who develop Java apps on a linux platform, i'll
need any other suggestions of them.

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Jake Williams     Answered On: Apr 23

Regarding IDEs:

I have used "Borlands JBuilder 7", "Sun One Studio 4 EE & CE" and
"Oracle's JDeveloper 9i", my personal suggestion is Sun One Studio, but,
for projects related to Web Services I suggest using Oracle JDeveloper
9i.

There are some features that are excellent in SunOne Studio and some are
excellent in JDeveloper, its related to your project. Leave JBuilder.
(This is my personal suggestion, and could be wrong)

Regarding GUIs:

They will work  on windows platform  as well, however, if your project
used filesystem or things like that try to code in a way that is
acceptable to both OS. Ex: C:\Test is OK with windows but not with
Linux. However, C:/Test is acceptable to both.

Regarding Applets:

Applets execute inside browsers, older versions may cause problems but
not the OS. Say, If your applet  executes well inside Navigator and IE,
it should execute on Linux as well, (if the versions of Navigator and IE
are same)

Regarding Application Development:

For java  coders, these publishers are excellent

1. Deitel Associates - <http://www.deitel.com> http://www.deitel.com
2. Wrox Press - http://www.wrox.com
3. OReilly Series

 
Answer #2    Answered By: Muriel Dunn     Answered On: Apr 23

personally i like eclipse  too... =)

 
Answer #3    Answered By: Trae Thompson     Answered On: Apr 23

I have already try Forte, but I still like Eclipse ....:)
Eclipse doesn't use UI builder like in JBuilder or Forte.
But the IDE was friendly enough and it is free ...

 
Answer #4    Answered By: Rochelle Elliott     Answered On: Apr 23

> First i need the correct  set of programs  installed on my pc. I use
Suse
> 8.1 at home, with its default  JDK version. (I don't remember which)
You can download either an RPM or a tarball with java  SDK 1.4.1 from
the following location:

http://java.sun.com/j2se/1.4.1/download.html

You do have to set  your JAVA_HOME, PATH and CLASSPATH variables in
Linux, but the instructions provided are good.

>
> I need a good  IDE to work  with. I installed  Borland JBuilder 7,
but if
> there are any other suggestions, i'll give  them a try. Maybe
Eclipse? or
sun  One?

Since I do mostly Server Side development with Java, I prefer
Eclipse. Which Desktop do you work in Gnome or KDE? You can get
Eclipse downloaded from:

http://www.eclipse.org/downloads/index.php

All you have to do is download it and untar or ungzip it into the
proper directory, set up your path and run with it. Installation
instructions are available for linux  from the eclipse  site.

> If i develop  a standalone app  with gui  in linux, will i be able to
make it
> work on win32 platforms?

I have developed standalone applications on Linux which ran
perfectly under Win32 EXCEPT --- if you have hardcoded a file path
to access a file, you might have problems. Probably best to set
them up in a .conf path somewhere.



> When i develop an applet, will i be able to test  if it works  fine
with IE?
> (I don't have an win32 partition, but maybe wine can make IE
work..)
If I am going to test an applet  with IE, I just run my Web Server on
my network and run it from another Windoz box. That way you are
testing your URL, your HTML and whether it runs in IE.

If you have the correct plugin, it should run in IE. There are
plugin compatability problems and if you are going to run an Applet,
you might want to use the AWT and JDK 1.1. This is unfortunate
since MicroSoft has truely attempted to SCREW JAVA!!!!

>
> If there are any other who develop Java apps  on a linux platform,
i'll
> need any other suggestions  of them.
>
I have been developing Java on both Windoze for 4 years and on Linux
now for a year and using "vi" on Solaris as an editor now for a
couple of months.... Good luck with your Java/Linux development. I
love to work on Linux because "I" control the environment... And if
you develop in Java correctly, it is 100 times more secure, and is
truely portable to all platforms.

 
Didn't find what you were looking for? Find more on java on linux - newbie question Or get search suggestion and latest updates.




Tagged: