5,744 questions
1
vote
1
answer
102
views
Unable to install. Invalid file. J2ME Application
I was making a J2ME MIDlet application. I wrote the code, compiled it to Java 1.2 bytecode, prevrified it and then packed it into jar. But when I sent it to my Nokia N72, it said: Unable to install. ...
0
votes
0
answers
31
views
Is there any way to find feature phone os and its platform
What is the way to find an operating system and its platform that is used on a cheap featured phone or any featured keypad mobile when not mentioned in its spec sheets? For popular branded devices ...
1
vote
1
answer
319
views
How to compile a Java class with javac without any dependencies even on the base classes like java.lang.*?
I want to "recreate" J2ME / CLDC with a recent version of javac (e.g. 11.0.19) and compile a purposely built Java program without any or minimal base classes. Obviously classes like java....
0
votes
1
answer
155
views
Make report after running multiple JMX files
I am trying to generate a meaningful report for business owners that reflects the system's behavior during the run of multiple groups of test cases separated in different JMX files.
I have created a ...
-3
votes
3
answers
1k
views
Trying to install Java ME SDK
I want to create my own Java MIDlets, like games and other stuff, so i tried to install Java ME SDK to get started. But when i install it i get this problem.
What in the world should i do!!
I tried ...
0
votes
1
answer
272
views
How to increase a body data size while recording the script using JMeter?
I am using Jmeter 5.2.1. While recording the script due to the heavy response, body data is not recorded properly and due to this when I tried to modify the ids at that time its request failed.
In ...
0
votes
1
answer
107
views
How to retrieve session information and pass single digit value in JMeter
I have the below response on JMeter 5.2.1.
<!DOCTYPE html>
<html>
<head>
<script id="web.layout.odooscript" type="text/...
1
vote
1
answer
101
views
J2ME: How to set a volume of media?
I would like to know how to change, or set value to the media volume, I am currently making a game, that will use the audio volume changing.
It seems to me, that you need to use javax.microedition....
0
votes
1
answer
41
views
Extract JMeter listener execution report using programming
Using JMeter Gui, If we choose aggregate listener and provide JMeter execution result file. it loads all aggregate results on JMeter table and that can be stored in csv file too.
I want this activity ...
1
vote
1
answer
1k
views
How to run j2me game in browser
I have some j2me games, usually running in "KEmulator", and I want to publish them on my server and play them using a browser, is this possible?
1
vote
0
answers
1k
views
Running JAR games natively on desktop
Is it possible to run old JAR games, the ones that used to run on nokia feature phones, natively on desktop without an emulator?
I figured it should be able to run on any device that has JRE but I'm ...
1
vote
0
answers
234
views
J2me on Mac OS Monterey
I wonder if there is a possible way to get working Java me sdk on recent Mac OS (12) natively. Last official version of sdk is from 2009 and won't launch, probably because of 32 bit architecture. If ...
0
votes
1
answer
47
views
How to turn off Bluetooth with j2me
To enable Bluetooth shutdown in my software
I tried to operate from this place and could not find
this
How to turn off Bluetooth with j2me
0
votes
0
answers
392
views
TCP socket in Android
My problem is I have implemented a TCP socket client in android which sends continuously "Hello" messages to the server to maintain a client-server connection and receives messages from the ...
0
votes
0
answers
19
views
Run JAX-WS on JavaME
I have simple web service application created on JAX-WS. I need to move this application on embedded device that runs Java micro edition. Is it possible run JAX-WS on Java micro edition?
public class ...
0
votes
0
answers
135
views
how can i send email using j2me midlet
hi all i have been trying to write the a j2me email client code which enables the midlet to send an email into my account but i faced the following error "Must issue a STARTTLS Command first"...
0
votes
0
answers
53
views
Java 2 ME doesnt support replaceAll()
I am trying to use a method replaceAll in my Java 2 ME midlet, but recently found out, that there isn't such option. I was trying to recreate the method, but with no luck. Here is the code I tried:
...
2
votes
1
answer
1k
views
Netbeans 12.5 can't install Java ME plugin
Below is what I'm using,
OS: macOS Big Sur
NetBeans: 12.5
Java: 7 / 8 / 17
I'm trying to install Java Me plugin
Upon installation, i kept getting this
I have tried using java 7, 8 and 17 (I'm using ...
1
vote
0
answers
1k
views
Setup remote development Using Netbeans 12 for Raspberry PI
I have been trying to use Netbeans 12 IDE to remote develop on the Raspberry PI. I have got the JDK 17 installed on the PI. I can add a platform, attach it to the PI and test the platform, the ...
0
votes
1
answer
89
views
ANYCHART LinearColorScale
I'm trying to construct a linearColorScale of AnyChart, and I've tried the code below but haven't gotten any results. Please let me know if there is a bug in this code or if I am missing something.
P....
0
votes
0
answers
188
views
what is the alternative of java argument: ( Region.Op.REPLACE) in android 9 and higher
The code "Region.Op.REPLACE", at two places in AndroidDisplayGraphics.java throws illegalArgumentException in android 9 and later versions due to policy change.
Here is the complete java ...
2
votes
1
answer
224
views
Converting UTF-16BE to UTF-8 in Java ME
I am writing an app in Java ME for old Symbian devices (and not only them). I have a problem. I am trying to draw emojis using png images. They are stored on some server in 2 folders. The first folder ...
0
votes
0
answers
32
views
Java Program to update .class file in jar file? [duplicate]
I have jar demo1.jar . I want to replace one .class file [at com/example/demo2/ location] using java program .
path is like demo1.jar/BOOT-INF/classes/com/example/demo2/.
2
votes
1
answer
2k
views
Installing J2ME plugins in NetBeans 12.4
I downloaded J2ME plugins from here: https://www.oracle.com/java/technologies/javame-sdk-downloads.html
I can't install the plugins, this is the error:
Some plugins require plugin Java Profiler Core ...
0
votes
1
answer
340
views
Java ME or Java SE (Raspberry Pi Zero)
I want to write Java programs for the Raspberry Pi Zero (it has 512 MB RAM) and i don't know if i should choose the Java SE (Standard Edition) or the Java ME (Micro Edition).
Thanks for help
-1
votes
1
answer
64
views
Which Proguard version do I need for the Sun Java Wireless Toolkit 2.5
In order to obfuscate my J2MEWTK project I am being instructed to do the following:
However this link is now dead and lacks detail, where can I find a version of Proguard that works with the Sun ...
-2
votes
2
answers
668
views
Generics are not supported at language level '1.4'using Intellij & Java ME
I am using Java ME x IntelliJ for this project but I seem to be getting the Generics are not supported at language level '1.4' error for the below code block:
AccessPoint accessPoint = AccessPoint.of(&...
1
vote
1
answer
31
views
sending xmlhttprequest to javame securesocketserver
I've written a MIDlet server that handle tcp inputstream. I send xmlhttprequest with an http:// url from a html web page and it works fine. I want to do the same with an https url.
with my ...
1
vote
1
answer
127
views
Need help to track ball position in JAVA
I am creating a bouncing ball in Netbeans using J2ME Loader.
I have done the bouncing ball parts but struggling to track the ball position.
I have searched online but not so much information there. ...
1
vote
1
answer
1k
views
where can i find the Series 40 5th Edition SDK, Feature Pack 1 Lite for download?
i need this nokia sdk but i can't find it anywhere on the internet. i tried to access the nokia forum site and it seems like it has been down for a long time it shows a message on my browser ...
1
vote
0
answers
44
views
Do Java TCP streams have to be recreated after each connection?
I'm working on a J2ME application but it's likely socket behaviour is similar in J2SE and almost no one is using J2ME so I think it's worth understanding how J2SE does it.
When I send a TCP message, ...
1
vote
0
answers
92
views
Java SE or Java ME on Raspberry Pi? Is Java ME on Pi stil useful?
I recently bought a Raspberry Pi 4 and searched for tutorials about Java on Raspberry. Most tutorials recommended to use the micro version of Java, Java ME. But I was wondering if it still has an ...
0
votes
1
answer
720
views
Is my implementation of MixColumns correct?
I'm trying to implement AES in J2ME, I've implemented mine based on the C# example on Wikipedia: https://en.wikipedia.org/wiki/Rijndael_MixColumns#Implementation_example
My AES implementation is ...
0
votes
0
answers
62
views
Emulating multiplication of 128-bit integers with pairs of 64-bit integers [duplicate]
I'm implementing Pollard's rho algorithm in J2ME, but the number I want to factorise is a long already and I need to be able to square the input number and subsequent 128-bit numbers produced. Seeing ...
3
votes
1
answer
1k
views
Developing a J2ME application on Ubuntu in the current year?
I recently dug out an old phone that runs J2ME applications and would like to write applications for it, in my attempts to get the SDK running with Netbeans and figure out the emulator I've hit many ...
0
votes
1
answer
138
views
Difficulties in running applications in Java Wireless Toolkit
I have been trying to run Java Mobile applications through the Java Wireless Toolkit 2.5.2_01. These applications are located in the apps directory of the Java Wireless Toolkit.
I'm facing with this ...
0
votes
1
answer
122
views
Java WTK cannot use StringTokenizer
Initially, I was trying to parse a String into parts and found split method. Then I realized that I cannot use it, because the compiler does not support most of the functions and methods. I thought I ...
1
vote
1
answer
3k
views
What are the differences between JEE, J2EE, JSE, JME and JDK? [duplicate]
I do not understand the differences between JEE, J2EE, JSE, JME and JDK. For what I do need this stuff? May someone help me?
I found this shortcuts while learning about Java. I am new to programming.
0
votes
1
answer
324
views
Writing data to OutputStream without closing with CLDC
I have a small J2ME app that should send some bytes to a socket and read response. However, when I close OutputStrean, the socket closes too, and I can't read response. I thought I could try ...
0
votes
2
answers
166
views
J2ME won't connect to remote socket
I have a J2ME app that should connect to the socket, launched somewhere. When I run everything at localhost, it all works fine, but if I launch it on my server and try to connect it in the client, it ...
2
votes
1
answer
829
views
OutputStream not working after InputStream
I'm quite new to sockets and to J2ME and I want to create an app, that would send some text to a server (via socket) and then receive answer. So when I try to write the output, I get an exception:
...
0
votes
0
answers
42
views
How do I send an object to a server via a MIDlet?
I have a server that recieves a serialized object, handles it, and then returns output. I would like to send an object via a MIDlet, but J2ME has no ObjectOutputStream class. What am I supposed to do?
1
vote
0
answers
563
views
Java ME SDK platform detection failure - Netbeans
I am trying to set up the Java ME 8 development environment. I am setting up the environment on a Windows 10 64-bit PC to develop a Java ME Embedded 8 application for use on a Raspberry Pi 3 model B. ...
0
votes
1
answer
390
views
How do I solve "The Application has unexpectedly quit because it ran out of memory" error in J2ME
I am new to J2ME. I was writing a simple program to request user for their name. I am however getting The Application has unexpectedly quit because it ran out of memory.
How do I solve this?
1
vote
0
answers
817
views
How can i convert gif to byte array and byte array to gif image in JavaME?
I have byte array of gif image and i'm using something like this
import javax.microedition.lcdui.Image;
byte[] picBytes = (byte[])obj;
Image.createImage(picBytes, 0, picBytes.length));
I want to ...
0
votes
1
answer
70
views
Is there a way to compile or port eclipse projects into a MIDlet?
i'm making a small test shoot-em-up for my nokia and i've already made the content for it. Is there a way to compile or port Eclipse projects into a Midlet, and if there is, how do i do that?
This is ...
0
votes
0
answers
121
views
Error : Java ME SDK not launching application, Why?
I'm working on J2ME application. When i try to launch application it gives me error about sublime. so that library is,
> Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library
> /...
1
vote
2
answers
489
views
How do I know if a software is 64bit or 32bit (x64 or x32)
I wanted to install J2ME and configure it with Netbeans. I followed two different tutorials word by word but somehow mine would give me many errors. After so much searching I realized that the JDK, ...
5
votes
0
answers
776
views
Nokia 3310: MIDlet always gives "Can't compile the file"
After reading this comment proving that it's possible to write custom apps for the new Nokia 3310 3G (TA-1006), I'm trying to get my own app running.
After doing a lot of reading about what MIDP, ...
1
vote
1
answer
1k
views
How to fix Netbeans 8.0 not detecting Java ME
I am trying to set up NetBeans 8.0 for development in Java ME (I know this is legacy software, but it is the only software I know of that supports Java ME), however, NetBeans will not detect my Java ...