# Tweak mode not working?

**URL:** <https://discourse.processing.org/t/tweak-mode-not-working/7972>\
**Category:** Processing\
**Created:** [January 30, 2019, 6:31pm UTC](https://discourse.processing.org/t/tweak-mode-not-working/7972 "2019-01-30T18:31:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdarias](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jdarias/32/3484_2.png) [@jdarias](https://discourse.processing.org/u/jdarias)\
**Post date:** [January 30, 2019, 6:31pm UTC](https://discourse.processing.org/t/tweak-mode-not-working/7972/1 "2019-01-30T18:31:48Z")

</div>

Whenever i try the tweak functionality i get a red bar and this in the console:

```auto
java.lang.ClassCastException: processing.app.RunnerListenerEdtAdapter cannot be cast to processing.mode.java.JavaEditor
	at processing.mode.java.JavaMode.handleTweak(JavaMode.java:145)
	at processing.mode.java.JavaEditor.lambda$0(JavaEditor.java:1101)
	at java.lang.Thread.run(Thread.java:748)

```

how can i fix this? tried deleting the processing folder and reinstalling. Nothing.  
Have the android mode installed, extended code completion and the “getting strarted 2nd edition” examples…

Edit: Maybe the devs disabled it [because of this](https://discourse.processing.org/t/tweak-mode-unsafe/3993)

---

<div class="post-metadata">

**Author:** ![JoeMcKay](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JoeMcKay](https://discourse.processing.org/u/JoeMcKay)\
**Post date:** [January 30, 2019, 11:18pm UTC](https://discourse.processing.org/t/tweak-mode-not-working/7972/2 "2019-01-30T23:18:45Z")

</div>

I can verify this problem on mac laptop. Version 3.3.5 still works in tweak mode (and perhaps later versions) if you’re looking for a quick fix.

---

<div class="post-metadata">

**Author:** ![GreenSkyer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/greenskyer/32/3505_2.png) [@GreenSkyer](https://discourse.processing.org/u/GreenSkyer)\
**Post date:** [February 1, 2019, 10:07pm UTC](https://discourse.processing.org/t/tweak-mode-not-working/7972/3 "2019-02-01T22:07:06Z")

</div>

I had the same problem when I was using 3.5.2, the latest version.  
I “downgraded” to an older version, the 3.4 and it works.

---

<div class="post-metadata">

**Author:** ![amoz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/amoz/32/3523_2.png) [@amoz](https://discourse.processing.org/u/amoz)\
**Post date:** [February 3, 2019, 8:35pm UTC](https://discourse.processing.org/t/tweak-mode-not-working/7972/4 "2019-02-03T20:35:09Z")

</div>

Same, tweak mode only works in 3.4 not the newest version on my Mac.  
And thanks for sharing the info, solved my problem!

---

<div class="post-metadata">

**Author:** ![anderikson](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@anderikson](https://discourse.processing.org/u/anderikson)\
**Post date:** [February 13, 2019, 6:17pm UTC](https://discourse.processing.org/t/tweak-mode-not-working/7972/5 "2019-02-13T18:17:33Z")

</div>

How did you downgrade to 3.4? I tried downloading the earlier version but it does not include an exe.

---

<div class="post-metadata">

**Author:** ![GreenSkyer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/greenskyer/32/3505_2.png) [@GreenSkyer](https://discourse.processing.org/u/GreenSkyer)\
**Post date:** [February 13, 2019, 6:42pm UTC](https://discourse.processing.org/t/tweak-mode-not-working/7972/6 "2019-02-13T18:42:33Z")

</div>

You do not down grade in the literal sense (because this app/software does not install in the traditional way on Windows at least; you just unzip it).  
You just download the older version (under the Stable Releases List) from the download page:  
[https://processing.org/download/](https://processing.org/download/)  
Unzip, replace or delete the version you had and open 3.4, that’s it.

Good luck 😃
