Hi, There does not appear to be a suse-java list. Does anyone develop using java on suse? I have googled and tried to use the Konqueror unfriendly novell.com site and am getting a bit frustrated. Do all java developers use windows? Or should i move to debian? cheers Tim
Tim, On Wednesday 07 September 2005 12:49, Tim Pizey wrote:
Hi,
There does not appear to be a suse-java list. Does anyone develop using java on suse? I have googled and tried to use the Konqueror unfriendly novell.com site and am getting a bit frustrated.
SuSE 9.3 is an excellent platform for Java development (after they fixed the packaging problems related to /etc/alternatives).
Do all java developers use windows?
That's a joke, right?
Or should i move to debian?
No way.
cheers Tim
Randall Schulz
I use java and eclipse as my ide. I noticed that the cd distro has 1.4 while on the ftp sites you can find 1.5. I intalled from cd's and then got the java stanalone (NOT the rpm) and have it in /opt/java -> /opt/jdk-1.5. I still havent' seen the Eclipse 3.1 which is the lattest. If you do get Eclipse then stay away from 3.0 since the differences between them are major.... especilly if you code for Eclipse as I do. I haven't explored the server side of things... On 9/7/05, Randall R Schulz <rschulz@sonic.net> wrote:
Tim,
On Wednesday 07 September 2005 12:49, Tim Pizey wrote:
Hi,
There does not appear to be a suse-java list. Does anyone develop using java on suse? I have googled and tried to use the Konqueror unfriendly novell.com site and am getting a bit frustrated.
SuSE 9.3 is an excellent platform for Java development (after they fixed the packaging problems related to /etc/alternatives).
Do all java developers use windows?
That's a joke, right?
Or should i move to debian?
No way.
cheers Tim
Randall Schulz
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Wednesday 07 September 2005 18:09, Hugo Garcia wrote:
I use java and eclipse as my ide. I noticed that the cd distro has 1.4 while on the ftp sites you can find 1.5.
Yes, apparently 1.5 is on the DVD but not on the CD set, which is not good for me as I have no DVD drive.
I intalled from cd's and then got the java stanalone (NOT the rpm) and have it in /opt/java -> /opt/jdk-1.5.
I have installed apt4rpm and did apt-get install java-1.5.0
I still havent' seen the Eclipse 3.1 which is the lattest.
I have, it is an improvement. yours tim -- Registered linux user #21337, http://counter.li.org/
Tim Pizey wrote:
On Wednesday 07 September 2005 18:09, Hugo Garcia wrote:
I use java and eclipse as my ide. I noticed that the cd distro has 1.4 while on the ftp sites you can find 1.5.
Yes, apparently 1.5 is on the DVD but not on the CD set, which is not good for me as I have no DVD drive.
You didn't need to go searching for it -- the ftp site contains everything.
On Wednesday 07 September 2005 17:43, Randall R Schulz wrote:
SuSE 9.3 is an excellent platform for Java development
I had hoped so, given that it has been teaming with Sun etc, but I can find nothing to suggest that SuSE or Novell take java seriously.
(after they fixed the packaging problems related to /etc/alternatives).
These were problems in 9.1 ? I have had a forced upgrade from 9.1 to 9.3 because ReiserFS ate my disk, again. How have they been fixed? Where can I red about how to configure the alternatives. It looks like I have to use update-alternatives for every java related link in /etc/alternatives. IT seems that apt4rpm does the right thing when installing java-1.5.0 but I might need to switch back . cheers Tim P -- Registered linux user #21337, http://counter.li.org/
Tim, On Thursday 08 September 2005 11:11, Tim Pizey wrote:
On Wednesday 07 September 2005 17:43, Randall R Schulz wrote:
SuSE 9.3 is an excellent platform for Java development
I had hoped so, given that it has been teaming with Sun etc, but I can find nothing to suggest that SuSE or Novell take java seriously.
Who is teaming with Sun? Given the range of Java packages included with SuSE, it seems pretty clear to me they're providing far more than token support. There are over 100 such packages, many of them libraries (and many of the separate packages holding JavaDoc HTML), based on "rpm -qa |egrep -i 'java|jakarta' |wc -l".
(after they fixed the packaging problems related to /etc/alternatives).
These were problems in 9.1 ?
There was no Java 1.5 during the release of 9.1, hence there was no need for /etc/alternatives treatment for Sun Java. As I said, the problem was in the original release of 9.3. It did not show up everywhere, but some programs, such as jEdit and Tomcat, would not run properly (or at all, in the case of Tomcat) with the original configuration mix-up.
I have had a forced upgrade from 9.1 to 9.3 because ReiserFS ate my disk, again.
How have they been fixed? Where can I red about how to configure the alternatives.
How? They put out new RPMs, of course.
It looks like I have to use update-alternatives for every java related link in /etc/alternatives.
IT seems that apt4rpm does the right thing when installing java-1.5.0 but I might need to switch back .
cheers Tim P
Randall Schulz
Tim Pizey wrote:
Hi,
There does not appear to be a suse-java list. Does anyone develop using java on suse? I have googled and tried to use the Konqueror unfriendly novell.com site and am getting a bit frustrated.
You can try suse-programming-e, which covers several languages. I sometimes write java on SuSE (depending on what I'm trying to do). I tend to use xemacs, but netbeans and the like all work and sun java compiles fine on linux. For non-swing (e.g. text-based apps) gcj is getting pretty good too. -- JDL
What exactly is your problem with Java and SuSE? I make fairly extensive use of it and it "just works" for me. The (64bit) distribution comes with 1.4.2_08-b03 if you just let it and 1.5 should be a simple (if large) download from Sun. Oh, and to answer your question... NO you should not use Windows--not for Java, not for anything! Cheers, Simon --- Tim Pizey <suse@paneris.co.uk> wrote:
Hi,
There does not appear to be a suse-java list. Does anyone develop using java on suse? I have googled and tried to use the Konqueror unfriendly novell.com site and am getting a bit frustrated.
Do all java developers use windows? Or should i move to debian?
cheers Tim
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
"You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions." Naguib Mahfouz ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/
On Wednesday 07 September 2005 19:39, Simon Roberts wrote:
What exactly is your problem with Java and SuSE?
Lack of a suse-java mailing list, Lack of an official 'how to develop j2ee applications the Novell/SuSE way' page, lack (perhaps) of mechanisms for updating /etc/alternatives, the fact that http://www.jpackage.org/ latest packages are for SuSE 9.0 No doubt I will get around these problems and will be a happy user again soon. cheers Tim P -- Registered linux user #21337, http://counter.li.org/
Tim, On Thursday 08 September 2005 11:25, Tim Pizey wrote:
On Wednesday 07 September 2005 19:39, Simon Roberts wrote:
What exactly is your problem with Java and SuSE?
Lack of a suse-java mailing list, Lack of an official 'how to develop j2ee applications the Novell/SuSE way' page,
There is very, very little about Java programming that is different on different OS platforms. That's a very specific design goal of the language inventors, and they've done quite a good job at realizing it. There's no real need for a SuSE-specific Java forum. I can't even think of what "the Novell/SuSE way" might be, especially when it comes to J2EE. You could make the case that Java under Linux in general (especially if you're doing GUI programming) might have some specific issues, but that's about it.
lack (perhaps) of mechanisms for updating /etc/alternatives, the fact that http://www.jpackage.org/ latest packages are for SuSE 9.0
Stick with more authoritatives sources, Sun, IBM (in the case of Jikes) or Novell/SuSE.
...
Tim P
Randall Schulz
I see, I think. I thought there was something "not working" for you. Anyway, I'm probably missing something, but I view Java as Java, and almost entirely platform independent. So, my take on these points are--and obviously they're just opinions/points of view :) Mailing list? There are already too many, adding one in the guise of being Suse specific seems counterproductive. Use Sun's, or Java Ranch. How to develop? I don't see why you'd want to develop something in a platform specific way in the first place. A large part of the point (again, in my view) is that Java is almost entirely platform independent. /etc/alternatives? Yup, I'm right there with you on this one. I found myself messing about for about 30 minutes trying to work out how to get both 1.4.2 and 1.5 in in a way that they'd co-exist peacefully. In the end, I hid 1.4.2 entirely and let 1.5 rule the roost. Not really what I wanted given that I teach this stuff and might need to call on older versions for some classes. Also suprising, given that Sun has a mechanism for handling this that is really a generic Unix approach, and I can't see why SuSE doesn't just go with it. Maybe they did better, but we just don't see how :) Out of date packages? I get it from Sun, I'm not sure why anyone would get it from anywhere else, but I'm probably myopic on this one. $0.02, Simon --- Tim Pizey <suse@paneris.co.uk> wrote:
On Wednesday 07 September 2005 19:39, Simon Roberts wrote:
What exactly is your problem with Java and SuSE?
Lack of a suse-java mailing list, Lack of an official 'how to develop j2ee applications the Novell/SuSE way' page, lack (perhaps) of mechanisms for updating /etc/alternatives, the fact that http://www.jpackage.org/ latest packages are for SuSE 9.0
No doubt I will get around these problems and will be a happy user again soon.
cheers Tim P
-- Registered linux user #21337, http://counter.li.org/
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
"You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions." Naguib Mahfouz ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/
On Thursday 08 September 2005 13:25, Tim Pizey wrote:
lack (perhaps) of mechanisms for updating /etc/alternatives,
Try these: #!/bin/sh # Switch to Java 1.4 by changing symlinks in /etc/alternatives echo 1 | update-alternatives --config java echo 1 | update-alternatives --config javac echo 1 | update-alternatives --config java_sdk_sun echo 1 | update-alternatives --config jre_sun #!/bin/sh # Switch to Java 1.5 by changing symlinks in /etc/alternatives echo 2 | update-alternatives --config java echo 2 | update-alternatives --config javac echo 2 | update-alternatives --config java_sdk_sun echo 2 | update-alternatives --config jre_sun -- ============================================================= Glenn Holmer (Linux registered user #16682) ------------------------------------------------------------- "After the vintage season came the aftermath -- and Cenbe." ------------------------------------------------------------- "Vintage Season", Henry Kuttner/C.L. Moore, 1946 =============================================================
Aha, now I understand the alternatives mechanism (or at least seem to). I use Sun's Java, as I mentioned before, and that does not install itself as an "alternative" in this mechanism. That's a lot of paths to update by hand. So... with _absolutely_no_warranty_ :) here's my script to install a Sun's JDK 1.5.0_04 (the current Linux version) as an alternative in this mechanism. Hopefully, it might save you some messing around in your favorite text editor. Notice that Sun's man pages are not gzipped, so I do that first. #!/bin/bash ( cd /usr/java/jdk1.5.0_04/man/man1 for i in *gz do gzip $i done ) update-alternatives --install /usr/bin/java java /usr/java/jdk1.5.0_04/bin/java 1504 \ --slave /usr/share/man/man1/rmiregistry.1.gz rmiregistry.1.gz /usr/java/jdk1.5.0_04/man/man1/rmiregistry.1.gz \ --slave /usr/share/man/man1/serialver.1.gz serialver.1.gz /usr/java/jdk1.5.0_04/man/man1/serialver.1.gz \ --slave /usr/share/man/man1/native2ascii.1.gz native2ascii.1.gz /usr/java/jdk1.5.0_04/man/man1/native2ascii.1.gz \ --slave /usr/share/man/man1/orbd.1.gz orbd.1.gz /usr/java/jdk1.5.0_04/man/man1/orbd.1.gz \ --slave /usr/share/man/man1/jarsigner.1.gz jarsigner.1.gz /usr/java/jdk1.5.0_04/man/man1/jarsigner.1.gz \ --slave /usr/share/man/man1/javaws.1.gz javaws.1.gz /usr/java/jdk1.5.0_04/man/man1/javaws.1.gz \ --slave /usr/share/man/man1/policytool.1.gz policytool.1.gz /usr/java/jdk1.5.0_04/man/man1/policytool.1.gz \ --slave /usr/share/man/man1/jmap.1.gz jmap.1.gz /usr/java/jdk1.5.0_04/man/man1/jmap.1.gz \ --slave /usr/share/man/man1/javac.1.gz javac.1.gz /usr/java/jdk1.5.0_04/man/man1/javac.1.gz \ --slave /usr/share/man/man1/servertool.1.gz servertool.1.gz /usr/java/jdk1.5.0_04/man/man1/servertool.1.gz \ --slave /usr/share/man/man1/keytool.1.gz keytool.1.gz /usr/java/jdk1.5.0_04/man/man1/keytool.1.gz \ --slave /usr/share/man/man1/javah.1.gz javah.1.gz /usr/java/jdk1.5.0_04/man/man1/javah.1.gz \ --slave /usr/share/man/man1/javap.1.gz javap.1.gz /usr/java/jdk1.5.0_04/man/man1/javap.1.gz \ --slave /usr/share/man/man1/tnameserv.1.gz tnameserv.1.gz /usr/java/jdk1.5.0_04/man/man1/tnameserv.1.gz \ --slave /usr/share/man/man1/extcheck.1.gz extcheck.1.gz /usr/java/jdk1.5.0_04/man/man1/extcheck.1.gz \ --slave /usr/share/man/man1/apt.1.gz apt.1.gz /usr/java/jdk1.5.0_04/man/man1/apt.1.gz \ --slave /usr/share/man/man1/appletviewer.1.gz appletviewer.1.gz /usr/java/jdk1.5.0_04/man/man1/appletviewer.1.gz \ --slave /usr/share/man/man1/jstack.1.gz jstack.1.gz /usr/java/jdk1.5.0_04/man/man1/jstack.1.gz \ --slave /usr/share/man/man1/kinit.1.gz kinit.1.gz /usr/java/jdk1.5.0_04/man/man1/kinit.1.gz \ --slave /usr/share/man/man1/jstat.1.gz jstat.1.gz /usr/java/jdk1.5.0_04/man/man1/jstat.1.gz \ --slave /usr/share/man/man1/jconsole.1.gz jconsole.1.gz /usr/java/jdk1.5.0_04/man/man1/jconsole.1.gz \ --slave /usr/share/man/man1/jar.1.gz jar.1.gz /usr/java/jdk1.5.0_04/man/man1/jar.1.gz \ --slave /usr/share/man/man1/klist.1.gz klist.1.gz /usr/java/jdk1.5.0_04/man/man1/klist.1.gz \ --slave /usr/share/man/man1/jsadebugd.1.gz jsadebugd.1.gz /usr/java/jdk1.5.0_04/man/man1/jsadebugd.1.gz \ --slave /usr/share/man/man1/idlj.1.gz idlj.1.gz /usr/java/jdk1.5.0_04/man/man1/idlj.1.gz \ --slave /usr/share/man/man1/jinfo.1.gz jinfo.1.gz /usr/java/jdk1.5.0_04/man/man1/jinfo.1.gz \ --slave /usr/share/man/man1/jps.1.gz jps.1.gz /usr/java/jdk1.5.0_04/man/man1/jps.1.gz \ --slave /usr/share/man/man1/rmic.1.gz rmic.1.gz /usr/java/jdk1.5.0_04/man/man1/rmic.1.gz \ --slave /usr/share/man/man1/rmid.1.gz rmid.1.gz /usr/java/jdk1.5.0_04/man/man1/rmid.1.gz \ --slave /usr/share/man/man1/jdb.1.gz jdb.1.gz /usr/java/jdk1.5.0_04/man/man1/jdb.1.gz \ --slave /usr/share/man/man1/ktab.1.gz ktab.1.gz /usr/java/jdk1.5.0_04/man/man1/ktab.1.gz \ --slave /usr/share/man/man1/pack200.1.gz pack200.1.gz /usr/java/jdk1.5.0_04/man/man1/pack200.1.gz \ --slave /usr/share/man/man1/javadoc.1.gz javadoc.1.gz /usr/java/jdk1.5.0_04/man/man1/javadoc.1.gz \ --slave /usr/share/man/man1/java.1.gz java.1.gz /usr/java/jdk1.5.0_04/man/man1/java.1.gz \ --slave /usr/share/man/man1/jstatd.1.gz jstatd.1.gz /usr/java/jdk1.5.0_04/man/man1/jstatd.1.gz \ --slave /usr/share/man/man1/unpack200.1.gz unpack200.1.gz /usr/java/jdk1.5.0_04/man/man1/unpack200.1.gz \ --slave /usr/bin/apt apt /usr/java/jdk1.5.0_04/bin/apt \ --slave /usr/bin/jar jar /usr/java/jdk1.5.0_04/bin/jar \ --slave /usr/bin/jdb jdb /usr/java/jdk1.5.0_04/bin/jdb \ --slave /usr/bin/jps jps /usr/java/jdk1.5.0_04/bin/jps \ --slave /usr/bin/idlj idlj /usr/java/jdk1.5.0_04/bin/idlj \ --slave /usr/bin/jmap jmap /usr/java/jdk1.5.0_04/bin/jmap \ --slave /usr/bin/ktab ktab /usr/java/jdk1.5.0_04/bin/ktab \ --slave /usr/bin/orbd orbd /usr/java/jdk1.5.0_04/bin/orbd \ --slave /usr/bin/rmic rmic /usr/java/jdk1.5.0_04/bin/rmic \ --slave /usr/bin/rmid rmid /usr/java/jdk1.5.0_04/bin/rmid \ --slave /usr/bin/serialver serialver /usr/java/jdk1.5.0_04/bin/serialver \ --slave /usr/bin/extcheck extcheck /usr/java/jdk1.5.0_04/bin/extcheck \ --slave /usr/bin/keytool keytool /usr/java/jdk1.5.0_04/bin/keytool \ --slave /usr/bin/javac javac /usr/java/jdk1.5.0_04/bin/javac \ --slave /usr/bin/javah javah /usr/java/jdk1.5.0_04/bin/javah \ --slave /usr/bin/javap javap /usr/java/jdk1.5.0_04/bin/javap \ --slave /usr/bin/jinfo jinfo /usr/java/jdk1.5.0_04/bin/jinfo \ --slave /usr/bin/jstat jstat /usr/java/jdk1.5.0_04/bin/jstat \ --slave /usr/bin/kinit kinit /usr/java/jdk1.5.0_04/bin/kinit \ --slave /usr/bin/klist klist /usr/java/jdk1.5.0_04/bin/klist \ --slave /usr/bin/unpack200 unpack200 /usr/java/jdk1.5.0_04/bin/unpack200 \ --slave /usr/bin/native2ascii native2ascii /usr/java/jdk1.5.0_04/bin/native2ascii \ --slave /usr/bin/appletviewer appletviewer /usr/java/jdk1.5.0_04/bin/appletviewer \ --slave /usr/bin/jstack jstack /usr/java/jdk1.5.0_04/bin/jstack \ --slave /usr/bin/jstatd jstatd /usr/java/jdk1.5.0_04/bin/jstatd \ --slave /usr/bin/tnameserv tnameserv /usr/java/jdk1.5.0_04/bin/tnameserv \ --slave /usr/bin/servertool servertool /usr/java/jdk1.5.0_04/bin/servertool \ --slave /usr/bin/jarsigner jarsigner /usr/java/jdk1.5.0_04/bin/jarsigner \ --slave /usr/bin/pack200 pack200 /usr/java/jdk1.5.0_04/bin/pack200 \ --slave /usr/bin/jsadebugd jsadebugd /usr/java/jdk1.5.0_04/bin/jsadebugd \ --slave /usr/bin/javadoc javadoc /usr/java/jdk1.5.0_04/bin/javadoc \ --slave /usr/bin/rmiregistry rmiregistry /usr/java/jdk1.5.0_04/bin/rmiregistry \ --slave /usr/bin/policytool policytool /usr/java/jdk1.5.0_04/bin/policytool \ --slave /usr/bin/jconsole jconsole /usr/java/jdk1.5.0_04/bin/jconsole --- Glenn Holmer <gholmer@ameritech.net> wrote:
On Thursday 08 September 2005 13:25, Tim Pizey wrote:
lack (perhaps) of mechanisms for updating /etc/alternatives,
Try these:
#!/bin/sh # Switch to Java 1.4 by changing symlinks in /etc/alternatives echo 1 | update-alternatives --config java echo 1 | update-alternatives --config javac echo 1 | update-alternatives --config java_sdk_sun echo 1 | update-alternatives --config jre_sun
#!/bin/sh # Switch to Java 1.5 by changing symlinks in /etc/alternatives echo 2 | update-alternatives --config java echo 2 | update-alternatives --config javac echo 2 | update-alternatives --config java_sdk_sun echo 2 | update-alternatives --config jre_sun
-- ============================================================= Glenn Holmer (Linux registered user #16682) ------------------------------------------------------------- "After the vintage season came the aftermath -- and Cenbe." ------------------------------------------------------------- "Vintage Season", Henry Kuttner/C.L. Moore, 1946 =============================================================
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
"You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions." Naguib Mahfouz __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Wednesday 07 September 2005 14:49, Tim Pizey wrote:
There does not appear to be a suse-java list. Does anyone develop using java on suse?
I've been using SUSE to develop Java programs since 6.0 :) -- ============================================================= Glenn Holmer (Linux registered user #16682) ------------------------------------------------------------- "After the vintage season came the aftermath -- and Cenbe." ------------------------------------------------------------- "Vintage Season", Henry Kuttner/C.L. Moore, 1946 =============================================================
participants (7)
-
Darryl Gregorash
-
Glenn Holmer
-
Hugo Garcia
-
John D Lamb
-
Randall R Schulz
-
Simon Roberts
-
Tim Pizey