[FZH] fedora的openJAVA的强依赖

Tommy He lovenemesis at fedoraproject.org
Mon Feb 25 09:47:56 UTC 2013


虚包 +1

不过 Oracle 的 RPM 声明提供 Java 了么?若是这样的话号召现有 Java 软件包维护者更新下 Spec,不要硬性依赖 OpenJDK 就好啦

2013/2/25 Weinan Li <l.weinan at gmail.com>:
> - 并不是每一个Linux发行版本都严格遵守了GPL(Linus骂大街主要理由之一)
> - Oracle的policy不允许Fedora包含它的jdk,在Windows下面安装也需要手工下载,现在MacOS的XCode安装Java也有一个确认后下载的过程了。
> - 打包时的依赖关系可以BR一个虚包:BuildRequire java
>   不同的包都可以Provide它,OpenJDK或是JDK的RPM spec只要Provides: java 就可以。
> - java版本间的切换可以使用alternatives:http://linux.about.com/library/cmd/blcmdl8_alternatives.htm
> - 俺有不少同事在OpenJDK开发组,既然jbossas在2012年纳入进了Fedora,那么Red Hat的战略必然是提供给用户一个完整的Java平台,中间件是其中之一,此外还有以openshift为代表的PaaS平台(这个在github上面开源,以ruby代码为主)。不过也有某社区领导说在Linux上面打包java项目是浪费时间,因为java项目一般是直接下载部署比较方便,所以口水仗也是很多的。。。
>
> --
> Weinan Li
> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>
>
> On Monday, February 25, 2013 at 5:34 PM, Tommy He wrote:
>
>> 这个是理念问题,Fedora 不允许主仓库里的软件在打包时依赖某闭源产品,况且 Oracle 的 Java 也不在 Fedora 仓库里。
>>
>> 至于能不能在打包时依赖关系填写成动态的,比如只是检测某个 Oracle Java 和 OpenJDK
>> 共用的库是否存在?或者说是否有个可靠、简便的方式去检测系统中是否安装了 Java ?
>>
>> 据我所知似乎木有哦……
>>
>> 2013/2/25 Christopher Meng <cickumqt at gmail.com (mailto:cickumqt at gmail.com)>:
>> > 因为 Fedora 不想惹上麻烦。
>> >
>> >
>> >
>> > *Yours sincerely,*
>> > *Christopher Meng*
>> >
>> > Got problems with Windows? - ReBoot
>> > Got problems with Linux? - Be Root
>> >
>> > Ambassador/Contributor of Fedora Project and many others.
>> > http://cicku.me
>> >
>> >
>> > 2013/2/25 杜宏羽 <dongfengweixiao at gmail.com (mailto:dongfengweixiao at gmail.com)>
>> >
>> > > 但是你可以自己下载安装。一般来说只要是满足了一个JAVA 的环境就可以,而没有必要限定在只能使用openJAVA啊。
>> > > ubuntu和arch 都是如此操作的。
>> > > 在 2013-2-25 下午5:21,"Christopher Meng" <cickumqt at gmail.com (mailto:cickumqt at gmail.com)>写道:
>> > >
>> > > > Oracle 的 JAVA 是不可能出现的。
>> > > >
>> > > >
>> > > >
>> > > > *Yours sincerely,*
>> > > > *Christopher Meng*
>> > > >
>> > > > Got problems with Windows? - ReBoot
>> > > > Got problems with Linux? - Be Root
>> > > >
>> > > > Ambassador/Contributor of Fedora Project and many others.
>> > > > http://cicku.me
>> > > >
>> > > >
>> > > > 2013/2/25 杜宏羽 <dongfengweixiao at gmail.com (mailto:dongfengweixiao at gmail.com)>
>> > > >
>> > > > > rt
>> > > > > 对于这个问题我一直都很不解
>> > > > > 为什么fedora 在包的依赖里面需要定义JAVA 环境完全的等于open JAVA 呢?就算是使用了乌龟壳的JAVA
>> > > > > 也不行?!而其他的发新版,诸如ubuntu,arch都不会如此。
>> > > > > --
>> > > > > Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > > Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
>> > > >
>> > >
>> > > --
>> > > Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
>> > >
>> >
>> >
>> > --
>> > Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
>> >
>>
>>
>>
>>
>> --
>> Take a Deep Breath out of Windows
>>
>> https://fedoraproject.org/wiki/User:Lovenemesis
>> --
>> Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
>>
>>
>
>
> --
> Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese



-- 
Take a Deep Breath out of Windows

https://fedoraproject.org/wiki/User:Lovenemesis


More information about the Chinese mailing list