File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes Griffon Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Griffon Error" Watch "Griffon Error" New topic
Author

Griffon Error

Chris Bohannon
Greenhorn

Joined: Jul 28, 2009
Posts: 8

Hello,

I'm not sure if this is the correct forum but here goes. I have installed Griffon on my Mint 13 - XFCE virtual machine. I use the following method:

sudo apt-add-repository ppa:groovy-dev/griffon
sudo apt-get update
sudo apt-get install griffon-1.0.2

This seemed to work fine but when I use griffon --version I receive:

/usr/bin/griffon: 144: /usr/bin/startGriffon: [[: not found

------------------------------------------------------------
Griffon 1.0.2
------------------------------------------------------------

Build: 16-Aug-2012 10:36 PM
Groovy: 1.8.6
Ant: 1.8.2
Slf4j: 1.6.4
Spring: 3.1.2.RELEASE
JVM: 1.7.0_07 (Oracle Corporation 23.3-b01)
OS: Linux 3.2.0-23-generic i386

I'm not sure what the 144 error is coming from. I looked at the startGriffon file and line 144 is this:

if [[ $JAVA_HOME =~ $regex ]]; then

Am I missing something? My java home is set...any help would be great.

Thanks!
Chris Bohannon
Greenhorn

Joined: Jul 28, 2009
Posts: 8

Fixed with this this:

dpkg-reconfigure dash

-Chris
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Griffon Error
 
Similar Threads
Problems with Java Home in VMBox
Java installation through a command line?
Start Tomcat 7 as tomcat user (not root user)
Deploying a Visual Web Pack Application from Netbeans 5.5.1 to Tomcat 5.5
Error in Java Home in Ubuntu