Skip to main content

Installing GlassFish on Linux

1 reply [Last post]
martin_dubuc
Offline
Joined: 2004-07-16

I am trying to install GlassFish on my Linux box (Fedora Core 4). I downloaded Build 48 and when I execute:
java -Xmx256m -jar glassfish-installer-9.0-b48.jar
I get the following error message:
glassfish
glassfish/lib
glassfish/lib/ant
...
glassfish/javadb
glassfish/javadb/frameworks
glassfish/javadb/frameworks/embedded
glassfish/javadb/frameworks/embedded/bin
glassfish/javadb/frameworks/NetworkServer
glassfish/javadb/frameworks/NetworkServer/bin
glassfish/javadb/lib
glassfish/lib/ant/bin/ant
Exception in thread "main" java.io.FileNotFoundException: glassfish/lib/ant/bin/ant (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:131)
at com.sun.tools.xjc.installer.Main.install(Main.java:112)
at com.sun.tools.xjc.installer.Main.main(Main.java:63)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
martin_dubuc
Offline
Joined: 2004-07-16

I figured it out. I didn't have write access to the directory where I launched the installer.