小编Arv*_*vin的帖子

读取Java字节码指令:数字是什么意思?

我正在阅读java字节码,看到了这个:

getfield #5 (Field java.lang.String name)
Run Code Online (Sandbox Code Playgroud)

什么#5意思?

我怎样才能用字节码编写程序?

java bytecode

8
推荐指数
1
解决办法
1526
查看次数

将插件导出为产品:未找到任何应​​用程序ID

即时尝试将示例插件导出为eclipse中的产品,但每次我尝试运行该产品时都会出现以下错误:

!SESSION 2012-07-11 10:17:35.813 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product test.product
Command-line arguments:  -product test.product -data /home/arvin/workspace/sample/../runtime-test.product(5) -dev file:/home/arvin/workspace/sample/.metadata/.plugins/org.eclipse.pde.core/test.product (5)/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog

!ENTRY org.eclipse.equinox.app 0 0 2012-07-11 10:17:36.351
!MESSAGE Product test.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2012-07-11 10:17:36.395
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
    at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at …
Run Code Online (Sandbox Code Playgroud)

eclipse product

4
推荐指数
1
解决办法
6911
查看次数

标签 统计

bytecode ×1

eclipse ×1

java ×1

product ×1