Questions tagged [jamvm]

JamVM is an open source, small, clearly written, interpreter-only Java virtual machine, ported to a wide variety of different platforms.

This machine has been written by Robert Lougher and used to be a popular tool for developing alternative Java system libraries, at the time when it was required. The compiled binary is comparatively very small (around 200 K executable only). It supports the full specification, including object finalization, Soft/Weak/Phantom References, class-unloading, JNI and reflections. When porting to the new platform, IO and similar features are provided through JNI.

The code is available under GPL. More can be found here.

28 questions
0
votes
1 answer

JamVm not running an application (that uses jpcap) on Gumstix

A newbie here so apologies in advance for asking anything silly/obvious. I am trying to run a java application on a Gumstix overo board (linux kernel 2.6.34). So far, I have installed JamVm (jvm), jikes compiler and classpath libraries (as per…
0
votes
1 answer

JamVM NoClassDefFoundError when main is inside of a package

I am getting a NoClassDefFoundError, class file has wrong name, when I try to put HelloWorld in a package! I am using Jamvm v1.5.2. I am assuming my class paths are set correctly because I am able to run when HelloWorld is not in a package... How…
Lou Morda
  • 5,078
  • 2
  • 44
  • 49
0
votes
1 answer

Buildroot - Error building jamvm 1.5.1

I've got (another) build error when trying to build my Buildroot environment. Note this question is in relation to (but not dependent on) my previous (resolved) questions here and here. I'm trying to include Bluetooth support in the kernel as well…
D-Dᴙum
  • 7,689
  • 8
  • 58
  • 97
0
votes
0 answers

Why i am getting this error Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules kotlin-stdlib-1.8.10

Whenever i am setting the depedency implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.6.1" implementation 'androidx.core:core-ktx:1.8.0' implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1' implementation…
0
votes
0 answers

Run log4j on jamvm

Trying to run simple java application with log4j on jamvm virtual machine: jamvm -cp ".:log4j-api-2.11.2.jar:log4j-core-2.11.2.jar" m.main Got error: Exception in thread "main" java.lang.NoClassDefFoundError: java/util/Objects at…
vico
  • 17,051
  • 45
  • 159
  • 315
0
votes
1 answer

Spring boot application is not running on openWRT

I have tried to run a Spring boot microservice application on openWRT, but it causes a runtime exception which is java.lang.NoClassDefFoundError: java/nio/charset/StandardCharsets. jvm used in openWRT is jamVM v2.0.0 and java v1.5. The exception I…
noobEinstien
  • 3,147
  • 4
  • 24
  • 42
0
votes
0 answers

JAMV returns false date

Im running jamvm on a PLC, but the virtual machine returns not the system time but always a false date. new Timestamp(System.currentTimeMillis()).toString() I have also checked the system time and it's set correctly. For example today 11.08 it…
Sadik Hasan
  • 173
  • 3
  • 18
0
votes
0 answers

FX9500 LLRP User Application Connection Issue

I'm working with a Motorola (Zebra) FX9500 RFID reader and trying to get a user application running that integrates with the LLRP Toolkit. The FX9500 comes preloaded with JamVM that supports java 1.5. My test application is simple: connects to the…
darryl_mc
  • 36
  • 10
0
votes
1 answer

Installing JamVM 2.0 on OpenWrt : how to change the Makefile so it uses OpenJDK library?

I currently want to install OpenHAB in an OpenWrt environment (for now its on a virtual machine with x86 architecture), and it needs to have a Java runtime with at least version 1.6. So I've used the OpenWrt 14.07 (Breaking Barrier) SDK cross…
0
votes
2 answers

jamvm1.5+classpath-0.96+qt4.3 QPixmap: It is not safe to use pixmaps outside the GUI thread

jamvm -Dawt.toolkit=gnu.java.awt.peer.qt test QPixmap: It is not safe to use pixmaps outside the GUI thread I'm new to Qt, I don't know how to deal with it.
0
votes
1 answer

Found big issue in cross-compiling, jamvm

I have been trying for a while to cross-compile jamvm (including GNU classpath) for an embedded linux (2.6) and I am stuck in a delicate place. I will try to sum up: after a lot of errors I finally compiled the package for my architecture but…
Jorge
  • 1,350
  • 2
  • 10
  • 19
0
votes
1 answer

Jar files required to Invoke Webservices

I have ported jamvm to my armel device. I am able to run various swing based and communicate to other systems via socket programming method. But when I try to call a webservice I get many NoClassDefFound exceptions. I placed jaxws-api.jar file to…
user1225752
  • 77
  • 1
  • 8
-1
votes
1 answer

OSGi framework for arm-linux board

I have arm 9 board running linux. I have ported Jamvm and its working fine. Now I need to port OSGi framework on top of it. I am new to OSGI. Kindly help me with the procedure/tutorial on how to port osgi on arm-linux. I prefer Equinox or Flex…
Rohit Pai
  • 89
  • 9
1
2