jad

eclipse反编译插件jad安装

落花浮王杯 提交于 2019-12-29 22:26:15
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 获取net.sf.jadclipse_3.3.0.jar并进行配置: 1,网上下载资源,下载后将net.sf.jadclipse_3.3.0.jar放置到eclipse\plugins目录下, 获取jad.exe执行文件并进行配置: 1,将jad解压到,放到指定目录 2,打开eclipse-->>菜单Window-->>preferences-->>java -->>JadClipse 3,配置jad路径和临时文件路径 Path to decompiler:d:\eclipse-jee-indigo-SR2-win32-x86_64\jad.exe Directory for temporary files:d:\eclipse-jee-indigo-SR2-win32-x86_64\temJad jad配置好后为默认*.class文件类型打开方式,如果不是的话可到General-->>Editors-->>File Associatior里设置 来源: oschina 链接: https://my.oschina.net/lion1220/blog/3149339

Java 枚举类型原理简要分析

人盡茶涼 提交于 2019-12-28 01:52:09
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 问题:枚举是一种特殊的数据类型,一般用来列举有限个、同类型的常量。它能保证参数的安全性,如方法声明传入的参数,必须是指定枚举中的常量。但使用枚举会比使用静态变量多消耗更多的内存,那为什么枚举这么耗内存? 先看下这段代码: public class TestEnumClass { public enum MyColor {red, green, blue}; public static void main(String[] args) { MyColor mc = MyColor.red; MyColor mc1 = mc.red.green.blue; System.out.println(mc); System.out.println(mc1); switch(mc) { case red: System.out.println("red"); break; case green: System.out.println("green"); break; case blue: System.out.println("bule"); break; default: System.out.println("default"); } } } 枚举原理: 在上面的代码中我们定义了 MyColor 这个枚举类型:

BlackBerry App World Distribution of .jad files

假如想象 提交于 2019-12-12 17:27:43
问题 I am developing an app using Eclipse Plugin with BlackBerry JRE 4.5 to support devices with OS versions 4.5 and higher. I understand that when you use a JRE version lower than 4.7 and you deploy the app to a 4.7 device or a 5.0 device, the app will run in compatibility mode and as a result the virtual keyboard would appear. I followed this document to avoid running my app in compatibility mode. I was able to generate the .JAD files for version 4.7 only after I built the app with JRE 4.7. I

Blackberry over the air installation

こ雲淡風輕ζ 提交于 2019-12-12 16:03:29
问题 I uploaded my blackberry application's delivarables to a server. I want my users to install the application from an url. Before uploading to remote server i made tests on localhost. No problem. But when i try to download .jad file from server it displays the file content, doesn't intall the application. Displayed text: Manifest-Version: 1.0 RIM-COD-Module-Name: ..... I thought it was about mime types so added these lines to .htaccess file in the folder with application files: Options -Indexes

jad “Version mismatch: major.minor = 49.0, expected = 45.3”, what's version of .class file?

别来无恙 提交于 2019-12-11 19:37:46
问题 I used jad to decompile the class but in AIX system, such error thrown. Version mismatch: major.minor = 49.0, expected = 45.3 I don't know what's the version of .class file, how can I avoid this? 回答1: The class was compiled for JDK5, your tools only support JDK1.1. You probably need a newer version of jad (or the whole JDK) on that machine (or compile your code for an older version of Java). major version number of the class file format being used: J2SE 7 = 51 (0x33 hex), J2SE 6.0 = 50 (0x32

阿里内部的那个牛逼带闪电的Java诊断工具终于开源了

痞子三分冷 提交于 2019-12-11 17:39:59
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 在阿里巴巴内部,有很多自研工具供开发者使用,其中有一款工具,是几乎每个Java开发都使用过的工具,那就是Arthas,这是一款Java诊断工具,是一款牛逼带闪电的工具。该工具已于2018年9月份开源。 GitHub地址:https://github.com/alibaba/arthas 用户文档:https://alibaba.github.io/arthas/ 在日常开发中,你是否遇到过以下问题: 这个类从哪个 jar 包加载的?为什么会报各种类相关的 Exception? 我改的代码为什么没有执行到?难道是我没 commit?分支搞错了? 遇到问题无法在线上 debug,难道只能通过加日志再重新发布吗? 线上遇到某个用户的数据处理有问题,但线上同样无法 debug,线下无法重现! 是否有一个全局视角来查看系统的运行状况? 有什么办法可以监控到JVM的实时运行状态? 以上问题,通通可以通过Arthas来进行问题诊断!!!是不是很好很强大。 Arthas支持JDK 6+,采用命令行交互模式,同时提供丰富的Tab自动补全功能,进一步方便进行问题的定位和诊断。 Arthas安装 1、使用arthas-boot安装 下载arthas-boot.jar,然后用java -jar的方式启动: 打印帮助信息:

How to hide the midlet icon on Nokia phones in J2ME?

给你一囗甜甜゛ 提交于 2019-12-10 18:49:21
问题 I have developed a midlet that is supposed to be invoked using Push Registry only. The user must not be able to manually start the app. I have achieved this by checking if the midlet was not invoked through Push Registry, then exit the midlet immediately. but is there any way to hide the app from application folder on Nokia devices? It seems that it can be done for sonyericsson: How to hide midlet icon in sonyericsson 来源: https://stackoverflow.com/questions/3349477/how-to-hide-the-midlet-icon

java-class文件批量转java文件

落花浮王杯 提交于 2019-12-10 06:49:34
java-class文件批量转java文件 1.首先下载jad转换工具: https://varaneckas.com/jad ,我的电脑是window10,选第一个下载 2.输入cmd,打开cmd命令窗口,输入命令cd /d D:\workSpace\jad158g.win,切盘符进入工具解压后所在目录。 3.将要转换的文件夹classes拷贝到同级目录下 4.接着输入命令 jad -o -r -s java -d src classes/**/*.class 回车执行,classes是要转换的文件夹名称,src 是转换后java文件存储文件夹名称,**/*.class也可以这样写,表示当前目录及其子目录下所有的class文件(包含所有的子目录)。 5.转换后 jad命令的参数含义如下: -o:覆盖旧文件,而且不用提示确认。 -r: 重新加载生成包结构。 -s (java):定义输出文件的扩展名。jad为默认扩展名。 -d:输出文件的目录。src表示反编译后的所有文件都放在src目录下。 --------------------------------------------------------------------------------------------------------分割线-----------------------------------------

推荐列表【博客,工具,框架,软件】

不羁的心 提交于 2019-12-06 09:56:35
https://alibaba.github.io/arthas/ Arthas 阿里开源java诊断工具 https://www.xuxueli.com/index.html XXL开源社区 记事本编辑器 notepad++ 记事本编辑,格式化xml,格式化json wxMEdit 十六进制编辑器 http抓包 Fiddler 数据库客户端 Navicat Premium 12 linux终端 SecureCRT java反编译 jd-gui luyten jad.exe 命令行 来源: https://my.oschina.net/u/4193646/blog/3136802

JADClipse not working with Eclipse 3.6

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-05 23:33:27
问题 Does Jadclipse work on Eclipse 3.6 ? I have installed Jadclipse 3.3.0 on my Eclipse 3.6 by copying the jar into the plugins directory and restated eclipse. Now I have the jadclipse menu under Windows->Preferences but when trying to de-compile any class it simply does not de-compile. I get the usual eclipse screen saying the source is unavailable. There are no errors in the Error Log . Any idea? 回答1: I eventually found the answer here. Running eclipse with -clean switch and setting the file