AntiWPA Forum

Full Version: JRebel - Trial Reset
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

  1. %HOMEDRIVE%%HOMEPATH%\.jrebel
  2. delete the file
    jrebel.pref and jrebel.lic
  3. and create instead a folder with the name
    [b]jrebel.pref
  4. start Java NetBeans (Eclipse, IntelliJ) or what ever you're using jrebel on.
    Now jrebel should complain:
    [Image: yDhJPi.png]

    Press Ok
  5. remove/rename the folder
    'jrebel.pref'
...and ya are done.

Next time you start NetBeans you're ready to sign in for a new 14-days jrebel trial.

Tested on NB 8.1 with Jrebel 7.0.7.

Anyway that stack dump tells much about what to look for in the Java Decompilier
[b]isTrialFootstepDetected Big Grin

Code:
java.io.FileNotFoundException: C:\<blah>\.jrebel\jrebel.prefs (Zugriff verweigert)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at org.zeroturnaround.javarebel.preferences.FileStore.toByteArray(FileStore.java:26​3)
    at org.zeroturnaround.javarebel.preferences.FileStore.update(FileStore.java:166)
    at org.zeroturnaround.javarebel.preferences.FileStore.access$100(FileStore.java:28)​
    at org.zeroturnaround.javarebel.preferences.FileStore$6.run(FileStore.java:124)
Caused: java.lang.RuntimeException
    at org.zeroturnaround.javarebel.preferences.FileStore$6.run(FileStore.java:135)
    at org.zeroturnaround.javarebel.preferences.FileStore$6.run(FileStore.java:118)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.zeroturnaround.javarebel.preferences.FileStore.runTransaction(FileStore.java​:118)
    at org.zeroturnaround.javarebel.preferences.FileStore.get(FileStore.java:60)
    at org.zeroturnaround.javarebel.preferences.PreferencesBridge.getBytes(PreferencesB​ridge.java:129)
    at org.zeroturnaround.javarebel.preferences.PreferencesBridge.get(PreferencesBridge​.java:115)
    at org.zeroturnaround.javarebel.preferences.PreferencesBridge.get(PreferencesBridge​.java:124)
    at com.zeroturnaround.javarebel.bf.c(JRebel:173)
    at com.zeroturnaround.javarebel.SDKLicensingImpl.wasEvalHere(JRebel:227)
    at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingCLI.isTrialFootstepDet​ected(JRebelLicensingCLI.java:251)
    at org.zeroturnaround.jrebel.client.licensing.JRebelLicensing.isTrialFootstepDetect​ed(JRebelLicensing.java:123)
    at org.zeroturnaround.jrebel.ide.common.utils.LicenseUtils.hasFootstepOfTrial(Licen​seUtils.java:59)

Btw a glace on jrebel,jar in JD (Jave Decompiler) shows that this cryptic 'com.zeroturnaround.javarebel.bf.c' tries some ".get("evalString", null)" on the file and gets 'surprised' by some unexpected exception.
Reference URL's