Author Topic: SL-C750 and some software issues  (Read 101 times)

JustAnother

  • Newbie
  • *
  • Posts: 6
    • View Profile
SL-C750 and some software issues
« on: June 13, 2021, 05:57:26 am »
Hello again! After my hardware shenanigans I'm stuck with some software troubles. Main thing – PalmOS emulator qpose. I'm installed it (both bin and data packages), obtained a ROM from site PalmDB, but upon starting emulator says "Please wait..." and after a couple of seconds closes without any error. Also it's starting with incorrect screen position (portrait instead of landscape), and libSDL installed (working, tested with emulator zgnuboy).

Second issue – Java, J2ME MIDP. Why – wanna run Opera Mini, just as proof that my little outdated device can browse modern internet. I found a pretty detailed instruction (here, section "MIDP"), made as it says, upon executing run command – in my case it looks like this:

Spoiler: ShowHide
Code: [Select]
evm -classpath ./me4se.jar:./midpx.jar:./opera-mini-8.0.jar org.me4se.MIDletRunner Browser


I've got an exception which looks like this:
Spoiler: ShowHide
Code: [Select]
Exception in thread "main", java.lang.NoSuchMethodError: java/lang/System.setProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at javax.microedition.midlet.ApplicationManager.setSystemProperty (bytecode 21)
        at javax.microedition.midlet.ApplicationManager.<init> (bytecode 186)
        at org.me4se.MIDletRunner.main (bytecode 147)


My code-experienced friend said that this is some locale issue, so someone can help me with that?

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1148
    • View Profile
Re: SL-C750 and some software issues
« Reply #1 on: June 13, 2021, 07:00:51 am »
For the qpose issue, there's a how-to here which might be helpful: http://zaurus.kruss.com/howto-qpose.php

Varti
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1148
    • View Profile
Re: SL-C750 and some software issues
« Reply #2 on: June 13, 2021, 07:14:44 am »
For the Java error: in your Java installation, the installed System class doesn't have a setProperty() method, or it doesn't expect two Strings as parameters. See if you have more than one "System.class" file, if so, check which of them is being used at run time by adding
Code: [Select]
-verbose:classin your command line.

Reference: https://stackoverflow.com/questions/39198914/java-lang-nosuchmethoderror-ljava-lang-stringljava-lang-string

Varti
« Last Edit: June 13, 2021, 07:18:17 am by Varti »
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!

JustAnother

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: SL-C750 and some software issues
« Reply #3 on: June 13, 2021, 02:26:46 pm »

Hello again and thanks for reply!

For the qpose issue, there's a how-to here which might be helpful: http://zaurus.kruss.com/howto-qpose.php

Unfortunately, how-to has no help 'cause in my case the emulator's GUI itself not starting -- according to screenshots I found there, it could be opened without PalmOS ROM. I'm uninstalled libSDL and tried to start qpose without it but to no avail. Maybe, I should try to start it via terminal but I doesn't know, how to do this: when I'm entered command qpose, system says that my display is 480x640 and this is all.

For the Java error: in your Java installation, the installed System class doesn't have a setProperty() method, or it doesn't expect two Strings as parameters. See if you have more than one "System.class" file, if so, check which of them is being used at run time by adding
Code: [Select]
-verbose:classin your command line.

Added this argument and got something like this:
Spoiler: ShowHide
Code: [Select]
evm -verbose:class -classpath ./me4se.jar:./midpx.jar:./xyanide.jar org.me4se.MIDletRunner GameMIDlet
SlSharedManager: can't get proc entry
Display size = 480x640
[JAR/ZIP   CLASSPATH: /home/QtPalmtop/lib/core.jar]
[JAR/ZIP   CLASSPATH: /home/QtPalmtop/lib/awt.jar]
[JAR/ZIP   CLASSPATH: /home/QtPalmtop/lib/i18n.jar]
[JAR/ZIP   CLASSPATH: ./me4se.jar]
[JAR/ZIP   CLASSPATH: ./midpx.jar]
[JAR/ZIP   CLASSPATH: ./xyanide.jar]
[Built-in library /home/QtPalmtop/bin/libjavalib.so]
[Loaded com/insignia/io/CE_ISO8859_1 from /home/QtPalmtop/lib/core.jar]
[Loaded java/awt/image/ImageObserver from /home/QtPalmtop/lib/awt.jar]
[Loaded java/awt/MenuContainer from /home/QtPalmtop/lib/awt.jar]
[Loaded java/awt/Component from /home/QtPalmtop/lib/awt.jar]
[Loaded java/awt/Container from /home/QtPalmtop/lib/awt.jar]
[Loaded java/awt/Panel from /home/QtPalmtop/lib/awt.jar]
[Loaded java/applet/Applet from /home/QtPalmtop/lib/core.jar]
[Loaded org/me4se/MIDletRunner from ./me4se.jar]
[Loaded java/awt/LayoutManager from /home/QtPalmtop/lib/awt.jar]
[Loaded java/awt/FlowLayout from /home/QtPalmtop/lib/awt.jar]
[Loaded javax/microedition/midlet/ApplicationManager from ./me4se.jar]
[Loaded [F]
[Loaded java/awt/Color from /home/QtPalmtop/lib/awt.jar]
[Loaded org/me4se/impl/JadFile from ./me4se.jar]
[Loaded org/me4se/System from ./me4se.jar]
---=== ME4SE Version 2.5.1 ===---
Exception in thread "main", java.lang.NoSuchMethodError: java/lang/System.setProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at javax.microedition.midlet.ApplicationManager.setSystemProperty (bytecode 21)
        at javax.microedition.midlet.ApplicationManager.<init> (bytecode 186)
        at org.me4se.MIDletRunner.main (bytecode 147)


I'm obviously not the code guy, so what this log means?