For use with JavaFX, is the the unminimized source for http://java.com/js/dtjava.js available somewhere, similar to http://java.com/js/deployJava.txt?
Asked
Active
Viewed 1,614 times
7
-
2http://java.com/js/dtjava.txt works. – imgx64 Feb 29 '16 at 08:51
2 Answers
3
Unminimized dtjava.js source for Java 8 is available from the open-jfx source repository.

jewelsea
- 150,031
- 14
- 366
- 406
-
Links provided are now dead. Here's my best guess: [Unminimized dtjava.js source for Java 8](http://hg.openjdk.java.net/openjfx/8/master/rt/file/f89b7dc932af/modules/fxpackager/src/main/resources/resources/web-files/dtjava.js) is available from the [open-jfx](http://hg.openjdk.java.net/openjfx/) source mirror repository. – tunabot Jan 21 '15 at 16:05
-
Thanks for comment tunabot, I updated the answer to link to use the live links you provided. – jewelsea Jan 21 '15 at 18:14
0
There is an excellent online service for this - http://jsbeautifier.org/ just paste the minified code and click. There is also an in-built formatting feature in Komodo IDE.

Avik
- 1,170
- 10
- 25
-
The formatting is not the only issue. The internal function and variable names have also been obfuscated. I need a pointer to the original source before it was minimized. For the previous incarnation of this code, http://java.com/js/deployJava.js, Oracle offers the unminimized version at http://java.com/js/deployJava.txt. There does not appear to be any such animal for http://java.com/js/dtjava.js. – B L Oct 18 '12 at 17:21
-
It has got the option 'Detect packers and obfuscators' and I don't think there is any tool which can rename the function and variable names to improve understandability. Unless some Oracle employee sees this and decides to share the unminimized source for dtjava.js online, I don't see any way of you getting your hands on it. – Avik Oct 18 '12 at 18:43
-
I wonder why the unminimized source is posted for deployJava.js but not dtjava.js... – B L Oct 18 '12 at 23:37