Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Grouper Installer

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Grouper Installer


Chronological Thread 
  • From: "Klug, Lawrence" <>
  • To: "" <>
  • Subject: [grouper-users] Grouper Installer
  • Date: Fri, 20 Jan 2012 18:05:52 +0000
  • Accept-language: en-US

Thought I’d try the new Grouper Installer – It can’t find the java compiler (see below)  even though I do have the SDK installed.

 

using Windows 7  with jdk1.6.0_29.

 

Thanks,

 

Lawrence

 

 

C:\projects\grouper.installer-2.0.3>java -jar grouperInstaller.jar

Enter in the Grouper install directory (note: better if no spaces or special chars) [C:\projects

\grouper.installer-2.0.3]: C:\projects\grouper

Installing grouper version: 2.0.3

Downloading from URL: http://www.internet2.edu/grouper/release/2.0.3/grouper.apiBinary-2.0.3.tar

.gz to file: C:\projects\grouper\grouper.apiBinary-2.0.3.tar.gz

Unzipping: C:\projects\grouper\grouper.apiBinary-2.0.3.tar.gz

Expanding: C:\projects\grouper\grouper.apiBinary-2.0.3.tar

Do you want to use the default and included hsqldb database (t|f)? [t]: n

 

##################################

 

Example mysql URL: jdbc:mysql://localhost:3306/grouper

Example oracle URL: jdbc:oracle:thin:@server.school.edu:1521:sid

Example hsqldb URL: jdbc:hsqldb:hsql://localhost:9001/grouper

Example postgres URL: jdbc:postgresql://localhost:5432/database

Example mssql URL: jdbc:sqlserver://localhost:3280

 

Enter the database URL [jdbc:hsqldb:hsql://localhost/grouper]: jdbc:mysql://localhost:3306/group

er

Database user [sa]:

Database password (note, you aren't setting the pass here, you are using an existing pass, this

will be echoed back) [<blank>]:

Editing C:\projects\grouper\grouper.apiBinary-2.0.3\conf\grouper.hibernate.properties:

- set property: hibernate.connection.url from: jdbc:hsqldb:hsql://localhost/grouper to: jdbc:my

sql://localhost:3306/grouper

- set property: hibernate.connection.username from: sa to:

 - set property: hibernate.connection.password from:  to:

Jan 20, 2012 10:00:43 AM edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils ex

ecCommand

SEVERE: Error running command: C:\Program Files\Java\jre6\bin\javac -version

java.io.IOException: Cannot run program "C:\Program Files\Java\jre6\bin\javac": CreateProcess er

ror=2, The system cannot find the file specified

        at java.lang.ProcessBuilder.start(Unknown Source)

        at java.lang.Runtime.exec(Unknown Source)

        at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.execCommand(Grou

perInstallerUtils.java:9274)

        at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.execCommand(Grou

perInstallerUtils.java:9240)

        at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.execCommand(Grou

perInstallerUtils.java:9223)

        at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.execCommand(Grou

perInstallerUtils.java:9194)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.validateJavaVersion(Groupe

rInstaller.java:1850)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(GrouperInstaller

.java:782)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(GrouperInstaller.java

:134)

Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified

 

        at java.lang.ProcessImpl.create(Native Method)

        at java.lang.ProcessImpl.<init>(Unknown Source)

        at java.lang.ProcessImpl.start(Unknown Source)

        ... 9 more

Exception in thread "main" java.lang.RuntimeException: This needs to be run from a jdk, but it i

s detected to be running from a JRE...  run the installed from a JDK!

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.validateJavaVersion(Groupe

rInstaller.java:1861)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(GrouperInstaller

.java:782)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(GrouperInstaller.java

:134)

 

C:\projects\grouper.installer-2.0.3>

 

Lawrence Klug

IMS Systems Integration

310 825-2061

ext 52061

 




Archive powered by MHonArc 2.6.16.

Top of Page