Error opening zip file or JAR manifest missing : ${env.REBEL_HOME}/jrebel.jar

910 views
Skip to first unread message

Eric Nguyen personal

unread,
Jan 15, 2015, 3:19:11 AM1/15/15
to hippo-c...@googlegroups.com
I'm trying to build my project with maven and JRebel.

The command I ran is:
`mvn -Pcargo.run -Djrebel -Dcargo.jvm.args='-Dwicket.configuration=development'`

The log is:
`...
[INFO] [talledLocalContainer] objc[38484]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
[INFO] [talledLocalContainer] Error opening zip file or JAR manifest missing : ${env.REBEL_HOME}/jrebel.jar
[INFO] [talledLocalContainer] Error occurred during initialization of VM
[INFO] [talledLocalContainer] agent library failed to init: instrument`


I suppose I need to set up the `REBEL_HOME` environment variable.
But how?

At the moment, the following outputs nothing:
echi $REBEL_HOME

Mathijs den Burger

unread,
Jan 15, 2015, 3:26:27 AM1/15/15
to hippo-c...@googlegroups.com

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.

Grzegorz Żur

unread,
Jan 15, 2015, 3:28:01 AM1/15/15
to hippo-c...@googlegroups.com
Hi Eric,

If you use bash, execute 'export REBEL_HOME=...'.

Greg

On 15 January 2015 at 09:19, Eric Nguyen personal

Eric Nguyen personal

unread,
Jan 15, 2015, 3:49:56 AM1/15/15
to hippo-c...@googlegroups.com
Hi Mathijs,

I know how to set up environment variable in OS X.
The questions are:
1) Where is JRebel?
I follow Hippo's tutorial and install it as an Intellij plugin.
(from what I've seen, I don't think I'm supposed to install a standalone and IDE-independent JRebel either)
I checked the Intellij's plugins folder but found nothing:
GE-Erics:hippo eric$ ls -lah ~/Library/Application\ Support/IdeaIC14/

 

total
2920

drwxr
-xr-x   7 eric  staff   238B Jan 15 15:46 .

drwx
------+ 30 eric  staff   1.0K Jan 15 10:45 ..

-rw-r--r--   1 eric  staff    26K Jan 15 15:35 DCEVM.jar

drwxr
-xr-x   9 eric  staff   306B Jan 15 15:46 DCEVM_JRE

-rw-r--r--   1 eric  staff   1.3M Jan 15 15:27 availables.xml

-rw-r--r--   1 eric  staff   109K Jan 15 15:35 extensions.xml

drwxr
-xr-x   3 eric  staff   102B Jan 15 15:27 jr-ide-idea


2) Is it even the correct approach since Hippo's tutorial didn't mention anything about setting up JRebel?

Bert Leunis

unread,
Jan 15, 2015, 5:42:01 AM1/15/15
to hippo-c...@googlegroups.com
On Thu, Jan 15, 2015 at 9:49 AM, Eric Nguyen personal <ericng...@gmail.com> wrote:
Hi Mathijs,

I know how to set up environment variable in OS X.
The questions are:
1) Where is JRebel?
I follow Hippo's tutorial and install it as an Intellij plugin.
(from what I've seen, I don't think I'm supposed to install a standalone and IDE-independent JRebel either)
I checked the Intellij's plugins folder but found nothing:
GE-Erics:hippo eric$ ls -lah ~/Library/Application\ Support/IdeaIC14/

 

total
2920

drwxr
-xr-x   7 eric  staff   238B Jan 15 15:46 .

drwx
------+ 30 eric  staff   1.0K Jan 15 10:45 ..

-rw-r--r--   1 eric  staff    26K Jan 15 15:35 DCEVM.jar

drwxr
-xr-x   9 eric  staff   306B Jan 15 15:46 DCEVM_JRE

-rw-r--r--   1 eric  staff   1.3M Jan 15 15:27 availables.xml

-rw-r--r--   1 eric  staff   109K Jan 15 15:35 extensions.xml

drwxr
-xr-x   3 eric  staff   102B Jan 15 15:27 jr-ide-idea


The jrebel plugin is installed in the jr-ide-idea folder. You were very close!
The REBEL_HOME variable you should point to the lib subfolder. 
.....IntelliJIdea\config\plugins\jr-ide-idea\lib 

You can also install Jrebel standalone (not as intellij plugin), then you should of course point to that installation.
Reply all
Reply to author
Forward
0 new messages