Hei Chan | 1 Apr 01:37 2007
Picon

How to setup jdk-1.5+ on FC6 x86_64?

Hi,

I have read the instruction at
http://www.jpackage.org/installation.php.

And I followed the instruction to install
jdk-1.5.09-i586 on my FC6-x86_64, then I installed
java-compact-1.5.09-noarch.

After I switched to jre-1.5.0-sun (by running
alternatives --config java), I couldn't launch Azureus
anymore.  If I switch back to jre-1.4.2-gcj, it works
fine.

I thought that it was just Azureus problem.  Then I
tried to run Heritrix (which is a Java crawler based
on Java 1.5) on jre-1.5.0-sun, it couldn't run either.

So I believe that there is something wrong with my
setup.  Anyone has any suggestion/idea?

Also, I have a side question, why does the instruction
suggest to install jdk with i586 arch instead of
x86_64?  I am just curious.

Thanks in advance.

- H

 
(Continue reading)

Yahoo | 1 Apr 07:14 2007
Picon

How to Install and Configure Ant for Centos 4.4 ?

I need to install Ant for my Centos 4.4. First, I have followed this post to
install Java Jdk:
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=2475&forum=28 and
it worked.

[root <at> server ~]# java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)

There is an instruction to do install ant by using jpackage and I have done.
But when I check, there is still this problem with Ant as in the log below.
Could somebody let me know how to configure this Ant to work with Centos
4.4? Thanks!

[root <at> server ~]# ant -version
/usr/bin/build-classpath: error: could not find xml-commons-apis Java
extension for this JVM
/usr/bin/build-classpath: error: All specified jars were not found
Apache Ant version 1.6.2 compiled on November 12 2004

When I run # ant-diagnostics, the log is below.

> ant -diagnostics
/usr/bin/build-classpath: error: could not find xml-commons-apis Java
extension for this JVM
/usr/bin/build-classpath: error: All specified jars were not found
------- Ant diagnostics report -------
Apache Ant version 1.6.2 compiled on November 12 2004

(Continue reading)

RavenOak | 1 Apr 21:47 2007
Picon

Re: How to setup jdk-1.5+ on FC6 x86_64?

If you installed the i586 version of the JDK, none of the 64bit
compiled java libraries will work with it.  If you run azureus from
command line you will see the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/6/1/.cp/libswt-pi-gtk-3236.so:
Can't load AMD 64-bit .so on a IA 32-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:993)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:89)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:68)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:106)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:80)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:180)

That means that you will have to either install the Sun 64bit JDK
(which doesn't have the browser plugin), or don't use Sun 32bit as
your system JVM (i.e., have alternatives go back to gcj).  If you are
actually using the JDK for programming, Eclipse and other IDEs will
let you specify which JDK you want to use.  That way you can use
versions from different vendors.

(Continue reading)

bugzilla | 2 Apr 00:09 2007

Your Bugzilla buglist needs attention.

[This e-mail has been automatically generated.]

You have one or more bugs assigned to you in the Bugzilla bug tracking system
(https://www.jpackage.org/bugzilla/) that require
attention.

All of these bugs are in the NEW or REOPENED state, and have not been
touched in 7 days or more.
You need to take a look at them, and decide on an initial action.

Generally, this means one of three things:

(1) You decide this bug is really quick to deal with (like, it's INVALID),
    and so you get rid of it immediately.
(2) You decide the bug doesn't belong to you, and you reassign it to
    someone else. (Hint: if you don't know who to reassign it to, make
    sure that the Component field seems reasonable, and then use the
    "Reassign bug to default assignee of selected component" option.)
(3) You decide the bug belongs to you, but you can't solve it this moment.
    Just use the "Accept bug" command.

To get a list of all NEW/REOPENED bugs, you can use this URL (bookmark
it if you like!):
https://www.jpackage.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=REOPENED&assigned_to=jpackage-discuss-/hcidOUDYf1g9hUCZPvPmw <at> public.gmane.org

Or, you can use the general query page, at 
https://www.jpackage.org/bugzilla/query.cgi

Appended below are the individual URLs to get to all of your NEW bugs
that haven't been touched for a week or more.
(Continue reading)

Hei Chan | 2 Apr 00:31 2007
Picon

Re: How to setup jdk-1.5+ on FC6 x86_64?

Hi Tim,

Thanks for your suggestion.

I ended up rebuilding the RPM based on
jdk-1.5.11-amdx86_64.bin from Sun although I am
running an Intel Core 2 Duo.  It seems working fine. 
Do you think that there will be a problem later?

Is there a reason why jpackage's installation guide
asks not to install jdk x86_64?  (Besides the browser
plugin problem)

Thanks in advance.

Cheers,
Hei

--- RavenOak <ravenoak@...> wrote:

> If you installed the i586 version of the JDK, none
> of the 64bit
> compiled java libraries will work with it.  If you
> run azureus from
> command line you will see the following error:
> 
> Exception in thread "main"
> java.lang.UnsatisfiedLinkError:
>
/usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/6/1/.cp/libswt-pi-gtk-3236.so:
(Continue reading)

Lyle Dietz | 2 Apr 10:45 2007
Picon

Re: How to Install and Configure Ant for Centos 4.4 ?

yum install xml-commons-apis

That _should_ fix it. No promises though ;)

Yahoo wrote:
> I need to install Ant for my Centos 4.4. First, I have followed this post to
> install Java Jdk:
> http://www.centos.org/modules/newbb/viewtopic.php?topic_id=2475&forum=28 and
> it worked.
> 
> [root <at> server ~]# java -version
> java version "1.5.0_09"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
> 
> There is an instruction to do install ant by using jpackage and I have done.
> But when I check, there is still this problem with Ant as in the log below.
> Could somebody let me know how to configure this Ant to work with Centos
> 4.4? Thanks!
> 
> [root <at> server ~]# ant -version
> /usr/bin/build-classpath: error: could not find xml-commons-apis Java
> extension for this JVM
> /usr/bin/build-classpath: error: All specified jars were not found
> Apache Ant version 1.6.2 compiled on November 12 2004
> 
> When I run # ant-diagnostics, the log is below.
> 
>> ant -diagnostics
> /usr/bin/build-classpath: error: could not find xml-commons-apis Java
(Continue reading)

Lyle Dietz | 2 Apr 10:51 2007
Picon

Update java-1.6.0-sun rpm

This is the nosrc RPM I posted back in January, updated for JDK 6 update 1.

http://members.optusnet.com.au/~derritter/java-1.6.0-sun-1.6.0.1-0.0.ld.0.nosrc.rpm

I've been running the previous incarnation since I posted it without issues.

Any chance of this making it into the repo?
Per Øyvind Karlsen | 2 Apr 10:58 2007

JPackage planning meeting ++?

Ahoi!

I have some requirements and changes I'd like to see done in jpackage 
regarding policies, infrastructure ++ which needs to be discussed etc.

The topics pretty much revolve around what I've written about at this wiki 
page:
http://wiki.mandriva.com/en/Policies/Java/JPackage

I've kind of tried bringing some of these topics up on list before without 
much feedback so I would hope for people involved with jpackage to 
participate as your participation, oppionions, ideas and what not is 
required.

I think that maybe setting a date sometime in two weeks would be nice and be 
reasonable time for people to find the time and make their preparations etc.

So WDYT? :)
--

-- 
Regards,
Per Øyvind Karlsen
Mandriva
Miklos Honti | 2 Apr 15:45 2007
Picon

yum update problem on centos 4.4 and sun java 1.6

Hi All,

I installed java 1.6, jpackage and tomcat on centos 4.4 about a month  
ago.
Everything went fine. Now i want to make and update with yum, but I
faced with the  problem below. I got some dependency problems, although
both jdk and java-compat are installed.

Any idea what should I do?

I read in an other tread that with 64 bit java there are some problems
with web browsers etc. Is there any problem to use 64 java installation
on server, used by tomcat and custom application? Or this depends on the
application? Or i will get the same performance with i585? sorry, I'm
quite new in java-related things.

When will 1.7 stable (days, weeks, months, years)? How can I move
forward this process?

Thanks,

Miki

[root <at> test ~]# yum update
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package xml-commons-jaxp-1.3-apis.noarch 0:1.3.03-7jpp set to be
(Continue reading)

Jaroslav Tulach | 2 Apr 19:54 2007
Picon

Re: JPackage planning meeting ++?

Dne pondělí 02 duben 2007 10:58 Per Øyvind Karlsen napsal(a):
> Ahoi!
>
> I have some requirements and changes I'd like to see done in jpackage
> regarding policies, infrastructure ++ which needs to be discussed etc.
>
> The topics pretty much revolve around what I've written about at this wiki
> page:
> http://wiki.mandriva.com/en/Policies/Java/JPackage

Hi.
I've been fascinated by the first item in the list list when I saw it month 
ago, but I thought that the openjdk project was just too new. However the 
first item stays the same - why you cannot use openjdk's javac to build your 
packages?

I've been experimenting with creating a (NetBeans modified version) of the 
openjdk's javac myself - it is not really working, but if you remove both 
patches I used, you should get working GPL w/ CPexc 100% standard javac 
compiler. Get my srpm work at
http://www.xelfi.cz/download/dev/SRPMS/nb-javac-6.0-1jpp.src.rpm

Regards
-jst

_______________________________________________
JPackage-discuss mailing list
JPackage-discuss <at> zarb.org
https://www.zarb.org/mailman/listinfo/jpackage-discuss

Gmane