Results 1 to 1 of 1
Hello.
I have a java application for which I have created rpmbuild. But now, I need to check if the Java version installed in the host machine is less than ...
- 09-25-2009 #1Just Joined!
- Join Date
- Sep 2009
- Location
- Earth
- Posts
- 1
RPM help
Hello.
I have a java application for which I have created rpmbuild. But now, I need to check if the Java version installed in the host machine is less than "1.5" or Java not exists, then I need to install java before installing my application .
Can anyone help me how to do this. I have downloaded Linux Java Self extracter binary from Sun. Is it fine if I call the java installer binary in "%pre" section of the my application's SPEC file? Thanks in advance.


Reply With Quote