Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Java Bytecode Viewer
#16
Nice utility, but, unfortunately, there is a little bug in decompilation in Linux - FernFlower fails to make source file because of wrong temporary directory name. Backslash is hardcoded and that works correctly in Windows, but in Linux, file separator is forward slash, so, because of hardcoded temporary directory name, we get filename like bcv_temp\temp0.java which FernFlower couldn't handle.

Quick and dirty patch is changing line 132: in BytecodeViewer.java file from:

Code:
public static String tempDirectory = "bcv_temp\\";

to

Code:
public static String tempDirectory = "bcv_temp"+System.getProperty("file.separator");
Reply
 


Messages In This Thread
Java Bytecode Viewer - by Konloch - 10-06-2014, 07:36 AM
RE: Java Bytecode Viewer - by Konloch - 10-07-2014, 12:18 AM
RE: Java Bytecode Viewer - by Konloch - 10-07-2014, 05:05 AM
RE: Java Bytecode Viewer - by Konloch - 10-07-2014, 11:27 AM
RE: Java Bytecode Viewer - by Konloch - 10-07-2014, 01:10 PM
RE: Java Bytecode Viewer - by Konloch - 10-08-2014, 10:51 AM
RE: Java Bytecode Viewer - by Konloch - 10-08-2014, 08:05 PM
RE: Java Bytecode Viewer - by Bigger - 10-09-2014, 02:55 AM
RE: Java Bytecode Viewer - by Konloch - 10-09-2014, 08:03 PM
RE: Java Bytecode Viewer - by Konloch - 10-11-2014, 08:59 PM
RE: Java Bytecode Viewer - by Bigger - 10-11-2014, 09:36 PM
RE: Java Bytecode Viewer - by Konloch - 10-11-2014, 09:59 PM
RE: Java Bytecode Viewer - by Konloch - 10-11-2014, 11:19 PM
RE: Java Bytecode Viewer - by Konloch - 10-15-2014, 08:15 AM
RE: Java Bytecode Viewer - by Konloch - 10-15-2014, 11:37 AM
RE: Java Bytecode Viewer - by firusvg - 10-20-2014, 07:07 AM
RE: Java Bytecode Viewer - by Konloch - 10-20-2014, 11:15 AM
RE: Java Bytecode Viewer - by Konloch - 10-20-2014, 02:09 PM
RE: Java Bytecode Viewer - by mibbzz - 10-21-2014, 06:17 AM
RE: Java Bytecode Viewer - by Konloch - 10-21-2014, 07:24 PM
RE: Java Bytecode Viewer - by mibbzz - 10-22-2014, 07:47 AM
RE: Java Bytecode Viewer - by Konloch - 11-03-2014, 06:20 AM
RE: Java Bytecode Viewer - by krzysiaczek99 - 07-23-2015, 10:04 AM
RE: Java Bytecode Viewer - by intruder - 05-27-2016, 04:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)

About The Bytecode Club

We're a community focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website