Building JNode CD-ROM image Exception
while building JNode CD-ROM image, the followig exception occuring, please tell me what do i have to do???????
grub:
prepare:
asm-native:
java-image:
[bootimage] Building for CPU: name:GenuineIntel family:0 model:0 step:0 features
:FPU,PSE raw:00000001 756E6547 6C65746E 49656E69 00000000 00000000 00000000 0000
0009
[bootimage] Compiling using X86-Stub and X86-L1A compilers
[bootimage] Compile of gnu.java.lang.reflect.ClassSignatureParser failed
[bootimage] at org.jnode.build.AbstractBootImageBuilder.compileClasses(Abstr
actBootImageBuilder.java:242)
[bootimage] at org.jnode.build.AbstractBootImageBuilder.emitObjects(Abstract
BootImageBuilder.java:682)
[bootimage] at org.jnode.build.AbstractBootImageBuilder.doExecute(AbstractBo
otImageBuilder.java:538)
[bootimage] at org.jnode.build.AbstractBootImageBuilder.execute(AbstractBoot
ImageBuilder.java:791)
[bootimage] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
[bootimage] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootimage] at org.apache.tools.ant.Target.execute(Target.java:341)
[bootimage] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[bootimage] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1216)
[bootimage] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
s(SingleCheckExecutor.java:37)
[bootimage] at org.apache.tools.ant.Project.executeTargets(Project.java:1068
)
[bootimage] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[bootimage] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
[bootimage] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootimage] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.j
ava:64)
[bootimage] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
[bootimage] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootimage] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInst
ance.java:378)
[bootimage] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
[bootimage] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootimage] at org.apache.tools.ant.Target.execute(Target.java:341)
[bootimage] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[bootimage] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1216)
[bootimage] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[bootimage] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
faultExecutor.java:40)
[bootimage] at org.apache.tools.ant.Project.executeTargets(Project.java:1068
)
[bootimage] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[bootimage] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[bootimage] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[bootimage] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[bootimage] Caused by: java.lang.NoClassDefFoundError: gnu.java.lang.reflect.Typ
eVariableImpl
[bootimage] at org.jnode.vm.classmgr.VmConstClass.doResolve(VmConstClass.jav
a:71)
[bootimage] at org.jnode.vm.classmgr.VmResolvableConstObject.resolve(VmResol
vableConstObject.java:43)
[bootimage] at org.jnode.vm.classmgr.VmType.resolveCpRefs(VmType.java:1951)
[bootimage] at org.jnode.vm.classmgr.VmType.resolveCpRefs(VmType.java:1925)
[bootimage] at org.jnode.build.AbstractBootImageBuilder.compileClasses(Abstr
actBootImageBuilder.java:222)
[bootimage] ... 29 more
[bootimage] Caused by: java.lang.ClassNotFoundException: gnu.java.lang.reflect.T
ypeVariableImpl
[bootimage] at org.jnode.vm.VmSystemClassLoader.loadClass(VmSystemClassLoade
r.java:353)
[bootimage] at org.jnode.vm.classmgr.VmConstClass.doResolve(VmConstClass.jav
a:69)
[bootimage] ... 33 more
[bootimage] Caused by: java.lang.ClassNotFoundException: System class gnu.java.l
ang.reflect.TypeVariableImpl not found.
[bootimage] at org.jnode.vm.VmSystemClassLoader.getClassData(VmSystemClassLo
ader.java:463)
[bootimage] at org.jnode.vm.VmSystemClassLoader.loadNormalClass(VmSystemClas
sLoader.java:410)
[bootimage] at org.jnode.vm.VmSystemClassLoader.loadClass(VmSystemClassLoade
r.java:342)
[bootimage] ... 34 more
[bootimage] --- Nested Exception ---
[bootimage] java.lang.NoClassDefFoundError: gnu.java.lang.reflect.TypeVariableIm
pl
[bootimage] at org.jnode.vm.classmgr.VmConstClass.doResolve(VmConstClass.jav
a:71)
[bootimage] at org.jnode.vm.classmgr.VmResolvableConstObject.resolve(VmResol
vableConstObject.java:43)
[bootimage] at org.jnode.vm.classmgr.VmType.resolveCpRefs(VmType.java:1951)
[bootimage] at org.jnode.vm.classmgr.VmType.resolveCpRefs(VmType.java:1925)
[bootimage] at org.jnode.build.AbstractBootImageBuilder.compileClasses(Abstr
actBootImageBuilder.java:222)
[bootimage] at org.jnode.build.AbstractBootImageBuilder.emitObjects(Abstract
BootImageBuilder.java:682)
[bootimage] at org.jnode.build.AbstractBootImageBuilder.doExecute(AbstractBo
otImageBuilder.java:538)
[bootimage] at org.jnode.build.AbstractBootImageBuilder.execute(AbstractBoot
ImageBuilder.java:791)
[bootimage] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
[bootimage] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootimage] at org.apache.tools.ant.Target.execute(Target.java:341)
[bootimage] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[bootimage] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1216)
[bootimage] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
s(SingleCheckExecutor.java:37)
[bootimage] at org.apache.tools.ant.Project.executeTargets(Project.java:1068
)
[bootimage] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[bootimage] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
[bootimage] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootimage] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.j
ava:64)
[bootimage] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
[bootimage] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootimage] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInst
ance.java:378)
[bootimage] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
[bootimage] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootimage] at org.apache.tools.ant.Target.execute(Target.java:341)
[bootimage] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[bootimage] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1216)
[bootimage] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[bootimage] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
faultExecutor.java:40)
[bootimage] at org.apache.tools.ant.Project.executeTargets(Project.java:1068
)
[bootimage] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[bootimage] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[bootimage] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[bootimage] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[bootimage] Caused by: java.lang.ClassNotFoundException: gnu.java.lang.reflect.T
ypeVariableImpl
[bootimage] at org.jnode.vm.VmSystemClassLoader.loadClass(VmSystemClassLoade
r.java:353)
[bootimage] at org.jnode.vm.classmgr.VmConstClass.doResolve(VmConstClass.jav
a:69)
[bootimage] ... 33 more
[bootimage] Caused by: java.lang.ClassNotFoundException: System class gnu.java.l
ang.reflect.TypeVariableImpl not found.
[bootimage] at org.jnode.vm.VmSystemClassLoader.getClassData(VmSystemClassLo
ader.java:463)
[bootimage] at org.jnode.vm.VmSystemClassLoader.loadNormalClass(VmSystemClas
sLoader.java:410)
[bootimage] at org.jnode.vm.VmSystemClassLoader.loadClass(VmSystemClassLoade
r.java:342)
[bootimage] ... 34 more
BUILD FAILED
F:\e\Sofwares\java\JNode\jnode-src-0.2.7\all\build.xml:403: The foll
owing error occurred while executing this line:
F:\e\Sofwares\java\JNode\jnode-src-0.2.7\all\build.xml:366: The foll
owing error occurred while executing this line:
F:\e\Sofwares\java\JNode\jnode-src-0.2.7\all\build-x86.xml:182: Comp
ile of gnu.java.lang.reflect.ClassSignatureParser failed
Total time: 5 minutes 28 seconds
- Login to post comments
Did you try doing a "build.sh clean" first?
Also, what is your build environment. It looks like you are using Windows, but what version, and what JDK version are you using for your build?
No...i didn't try "build.sh
No...
i didn't try "build.sh clean"....
i'v just downloaded the jnode-src-0.2.7, and building CD-ROM image using "build cd-x86-lite"
i'm using Windows XP service Pack 2 and
jdk 1.6 update 3
I tried what you did and it worked.
I downloaded the same source bundle, unzipped it, extracted it, and built it using "build cd-x86-lite". The build completed with no unexpected errors, and no sign of the errors that you reported. I used Windows XP and JDK 1.6 (update 11 ... though I doubt that the update level matters.)
So here's what I suggest you do:
If this fails, the next thing I'll suggest is that you dump Windows and try building on Linux. In my experience, builds run roughly twice the speed on Linux as on Windows XP with the same hardware.
Problem in VMWare Player while running cd-x86-lite CD-ROM image
You're right sir... there was a version conflict prob... Now i'm using jdk 1.6 update 12, and successfully built CD-ROM image...
I've installed VMWare Player 2.5.1 and successfully loaded the CD-ROM image, while giving the command "startawt" the player remains as black, there is no GUI display...
please tell me, what do i have to do to solve this problem........
Works for me ...
I downloaded the same version of VMPlayer for Windows and ran JNode using the ISO and .vmx file created by the build process. At the JNode command prompt I typed:
VMWare switched from a 24x80 console window to larger GUI window. It stayed black for 30 seconds or so, then the JNode GUI was displayed. I launched the GUI-mode console, and ran a command with no problems.
My first guess is that you forgot to run "gc" before running "startawt". If you fail to do this, JNode can get "stuck" trying to compile the classes that support the GUI. (At least it used to do that ... I run "gc" out of habit now.)
Otherwise, it is most likely that your graphics card / chipset is not properly supported in JNode yet. Can you tell us what it is please?
If the issue is that your graphics card is not supported, then you may want to try using the VESA driver as a fallback. Unfortunately, I cannot find clear instructions on how to do this, and I've never had to do this myself.
If someone else (Levente?, Peter?, ...) could provide some rough instructions about using VESA as a followup comment, I can refine them and incorporate them into the JNode documentation tree.
VMWare player
In VMWare player the graphics card is supported, so probably in the above setup the gui takes a bit more time to start up or there is not enough memory in vmware player for the gui to start up. Can you try it with 1G RAM?
Using the VESA driver is as simple as selecting the option in the GRUB menu with VESA support. Then JNode switches to graphics mode during startup though the text console is used in this case too. Then in the command line the desktop is started with the same startawt command.