• 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
Re: 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]

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


  • Subject: Re: WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln"
  • From: Bastian Triller <email@hidden>
  • Date: Sun, 06 Oct 2013 19:05:58 +0200

The hard link count of your /bin/ln is 1. It should be 2, since /bin/link and /bin/ln point to the same file (at least on 10.8). Do you have /bin/link?

On 6 Oct 2013 18:25, "Thomas Peters" <email@hidden> wrote:
tpeterss-macbook-pro-15:WOLips thomasgpeters$ ls -l /bin/ln
-rwxr-xr-x  1 root  wheel  14976 Oct 19  2012 /bin/ln

On Oct 4, 2013, at 11:28 PM, Chuck Hill <email@hidden> wrote:

What are the permissions on ln?  These are mine:
moosejaw:~ chuck$ ls -al /bin/ln
-rwxr-xr-x  2 root  wheel  14976 12 Mar  2013 /bin/ln



On 2013-10-04 8:25 PM, "Thomas Peters" wrote:

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



-- 
Chuck Hill             
Executive Managing Partner, VP Development and Technical Services

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! 

Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!


 _______________________________________________
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
 _______________________________________________
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: Thomas Peters <email@hidden>
References: 
 >Re: WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln" (From: Chuck Hill <email@hidden>)
 >Re: WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln" (From: Thomas Peters <email@hidden>)

  • Prev by Date: Re: WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln"
  • Next by Date: error Trying to install mod_WebObject.so into xampp on ubuntu linux
  • Previous by thread: Re: WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln"
  • Next by thread: Re: WOInstaller.jar throws Exception in thread "main" java.io.IOException: Cannot run program "/bin/ln"
  • Index(es):
    • Date
    • Thread