Here is the first part of the idea.sh script
#!/bin/sh
#
# ------------------------------------------------------
# IntelliJ IDEA Startup Script for Unix
# ------------------------------------------------------
#
#
---------------------------------------------------------------------
# Before you run IntelliJ IDEA specify the location of the
# JDK 1.6 installation directory which will be used for running IDEA
#
---------------------------------------------------------------------
export JDK_HOME=/usr/java/jdk1.6.0_10
if [ -z "$IDEA_JDK" ]; then
IDEA_JDK=$JDK_HOME
if [ -z "$IDEA_JDK" ]; then
echo ERROR: cannot start IntelliJ IDEA.
echo No JDK found to run IDEA. Please validate either IDEA_JDK or
JDK_HOME p
oints to valid JDK installation
fi
fi
You should change JDK_HOME to your path.
Thanks,
Jian
On Mar 4, 11:01 pm, John <[email protected]> wrote:
> You can try to specify the JDK 6 path in the idea.sh file.
>
> For example, I put the following line in the beginning of the file.
>
> export JDK_HOME=/usr/java/jdk1.6.0_10
>
> In this way, you can run IntelliJ using Java 6, but compile
> project using Java 5.
>
> Thanks,
>
> Jian
>
> On Mar 4, 10:58 pm, Harihara Vinayakaram <[email protected]> wrote:
>
> > Yes I changed the groovy path. I thought IDEA did not work with JDK 1.5 and
> > required JDK 1.6 at the minimum. Let me verify that again
>
> > Regards
> > Hari
>
> > On Thu, Mar 5, 2009 at 9:26 AM, John <[email protected]> wrote:
>
> > > Hari,
>
> > > Please try jdk1.5 since tellurium core is compiled using Java 5. Have
> > > you
> > > changed the the Groovy path in the project setting page? You may need
> > > to do that because we may
> > > have different ones.
>
> > > Thanks,
>
> > > Jian
>
> > > On Mar 4, 10:38 pm, Harihara Vinayakaram <[email protected]> wrote:
> > > > Hi John
> > > > I tried opening your project in IntelliJ and i have the same error.
> > > (I
> > > > am using JDK 1.6_07 and groovy 1.6 on Ubuntu Linux 8.04 32 bit ) . I get
> > > the
> > > > same error on 64 bit with JDK 1.6_12 64 bit also
> > > > Attaching the screen shot
>
> > > > Regards
> > > > Hari
>
> > > > On Thu, Mar 5, 2009 at 8:24 AM, John <[email protected]> wrote:
>
> > > > > Hari,
>
> > > > > I created a new IntelliJ project only using tellurium-0.6.0.jar and
> > > > > TelluriumConfig.groovy
> > > > > file. I cannot re-produce your problem. I uploaded my sample project
> > > > > to our user group
> > > > > at
>
> > > > >http://tellurium-users.googlegroups.com/web/tt.tar.gz?gda=epcnzDsAAAC.
> > > ..
>
> > > > > Did you forget to add the Groovy Facet to your project? Go to
>
> > > > > module settings > Project settings > Facet > Groovy
>
> > > > > You should add Groovy to your module. Haroon and Mikhail, could you
> > > > > reproduce the same problem in windows?
>
> > > > > Thanks,
>
> > > > > Jian
>
> > > > > On Mar 4, 10:08 am, John <[email protected]> wrote:
> > > > > > Hari,
>
> > > > > > Thanks for reporting this. We will try to reproduce this problem.
>
> > > > > > Mikhail and Haroon, could you please use IntelliJ to create a new
> > > > > > project by adding tellurium-0.6.0.jar only
> > > > > > to reproduce the problem? I will try on my machine, too.
>
> > > > > > Thanks,
>
> > > > > > Jian
>
> > > > tt.png
> > > > 121KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---