Fedora 8 upgrade and Java

I upgraded from fedora 7 to 8. (Via yum : wasn’t exactly smoove, but not too bad).

Now I installed Java 1.7 IcedTea as per Mauriat Miranda tips and added the JDK as well (-devel) : sudo yum install java-1.7.0-icedtea java-1.7.0-icedtea-devel java-1.7.0-icedtea-plugin

I tested as per Gregory Gulick’s tips and it was not OK.

So I launched galternatives and selected Java-1.7.0 for Java. Then it was OK.

Next I installed Eclipse (yum install eclipse), launched it, checked that it was using Java 1.7 : OK, then did a quick “Hello World” example and it went well. After some thinking I don’t see a real plus in having a RPM managed Eclipse. I can download it via the standard Eclipse way and I will be able to update it more conveniently.

Then Netbeans 6 and Glassfish have a problem related to keytool and keystore :

[2007-11-16 12:50:43.772]: executing command: /home/brunox/bin/glassfish-v2/bin/asadmin create-domain --interactive=false --adminport 4848 --user admin --passwordfile /home/brunox/bin/glassfish-v2/nbi-14359.tmp --instanceport 8080 --domainproperties http.ssl.port=8181 --savemasterpassword=true domain1, in directory: /home/brunox/bin/glassfish-v2
[2007-11-16 12:50:45.519]: [stdout]: Using port 4848 for Admin.
[2007-11-16 12:50:45.519]: [stdout]: Using port 8080 for HTTP Instance.
[2007-11-16 12:50:45.519]: [stdout]: Using default port 7676 for JMS.
[2007-11-16 12:50:45.519]: [stdout]: Using default port 3700 for IIOP.
[2007-11-16 12:50:45.520]: [stdout]: Using port 8181 for HTTP_SSL.
[2007-11-16 12:50:45.520]: [stdout]: Using default port 3820 for IIOP_SSL.
[2007-11-16 12:50:45.520]: [stdout]: Using default port 3920 for IIOP_MUTUALAUTH.
[2007-11-16 12:50:45.520]: [stdout]: Using default port 8686 for JMX_ADMIN.
[2007-11-16 12:50:45.520]: [stdout]: Domain being created with profile:developer, as specified by variable AS_ADMIN_PROFILE in configuration file.
[2007-11-16 12:50:47.275]: [stdout]: Security Store uses: JKS
[2007-11-16 12:50:59.504]: [stdout]: keytool error: java.io.IOException: Invalid keystore format
[2007-11-16 12:50:59.504]: [stdout]:
[2007-11-16 12:50:59.504]: [stderr]: CLI130 Could not create domain, domain1
[2007-11-16 12:50:59.555]: [return]: 1
[2007-11-16 12:50:59.555]: ... command execution finished
[2007-11-16 12:50:59.557]: org.netbeans.installer.utils.exceptions.InstallationException: Failed to create the default domain
[2007-11-16 12:50:59.557]: at org.netbeans.installer.products.glassfish.ConfigurationLogic.install(ConfigurationLogic.java:373)
[2007-11-16 12:50:59.557]: at org.netbeans.installer.product.components.Product.install(Product.java:329)
[2007-11-16 12:50:59.557]: at org.netbeans.installer.wizard.components.actions.InstallAction.execute(InstallAction.java:151)
[2007-11-16 12:50:59.558]: at org.netbeans.installer.wizard.components.WizardAction$1.run(WizardAction.java:120)
[2007-11-16 12:50:59.558]: Caused by: org.netbeans.installer.utils.applications.GlassFishUtils$DomainCreationException: "Could not create domain - error CLI130 occurred.
[2007-11-16 12:50:59.558]: at org.netbeans.installer.utils.applications.GlassFishUtils.createDomain(GlassFishUtils.java:117)
[2007-11-16 12:50:59.558]: at org.netbeans.installer.utils.applications.GlassFishUtils.createDomain(GlassFishUtils.java:87)
[2007-11-16 12:50:59.558]: at org.netbeans.installer.products.glassfish.ConfigurationLogic.install(ConfigurationLogic.java:364)
[2007-11-16 12:50:59.558]: ... 3 more



I guess  that I will simply install Sun Java 6.

All this through a FreeNX remote access.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: