• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln"


  • Subject: WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln"
  • From: Thomas Peters <email@hidden>
  • Date: Fri, 04 Oct 2013 23:25:41 -0400

Hi All,

I am installing WOFramework using the following:

$ sudo mkdir -p /Library/WebObjects/Versions/WebObjects543
$ curl -O http://wocommunity.org/tools/WOInstaller.jar
$ sudo java -jar WOInstaller.jar 5.4.3 /Library/WebObjects/Versions/WebObjects543

I am following the installer on the following link:

http://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation

mkdir works

getting the JAR works

but unlike the video on the installer page, running the installer throws the following exception:

tpeterss-macbook-pro-15:eclipse thomasgpeters$ sudo java -jar WOInstaller.jar 5.4.3 /Library/WebObjects/Versions/WebObjects543
Downloading WebObjects: Done  
Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
at java.lang.Runtime.exec(Runtime.java:617)
at java.lang.Runtime.exec(Runtime.java:485)
at com.mdimension.archiver.CPIO$Link.create(CPIO.java:202)
at com.mdimension.archiver.CPIO.extractTo(CPIO.java:129)
at com.mdimension.woinstaller.Main.main(Main.java:116)
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
... 5 more

I am running the installer from sudo, but it is still causing this error.  Any help appreciated.

Thomas

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln"
      • From: Chuck Hill <email@hidden>
References: 
 >WOFrameworksBaseURL (From: Ramsey Gurley <email@hidden>)
 >Re: WOFrameworksBaseURL (From: Alexis Tual <email@hidden>)
 >Re: WOFrameworksBaseURL (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Re: Changing from horizontal to single table inheritance
  • Next by Date: Re: WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln"
  • Previous by thread: Re: WOFrameworksBaseURL
  • Next by thread: Re: WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln"
  • Index(es):
    • Date
    • Thread