Questions tagged [java]

Java is a high level programming language. Roughly four billion devices run Java, as it is used in almost all computers and mobile phones, as well as other interactive devices. In order to program with Java, a separate JDK has to be installed beyond the normal language kit.

259 questions
4
votes
1 answer

Java 11 not working

I want to start experimenting with Java on a PI, following this guide http://docs.gluonhq.com/embedded/#_setting_up_the_raspberry_pi and started with PI ARMv6 rev 7 (v61) Kernel Linux 4.14.79+ Raspian GNU/Linuxx 9 (stretch) And tried two Java 11…
Frank
  • 318
  • 1
  • 8
4
votes
1 answer

Bonjour and Java on a Raspberry Pi

So I'm working on a java project for my raspberry pi and I want to create a bonjour service in java. So when I'm coding on my mac I have the imports: import com.apple.dnssd.DNSSD; import com.apple.dnssd.DNSSDException; import…
Matthew Wilson
  • 171
  • 2
  • 7
4
votes
2 answers

Can I design the program via JAVA on PC then transfer it to a Raspberry Pi?

I'm a new user of Raspberry Pi. Actually, I wanted to buy a Raspberry device when I've finished programming it's software, now I'd like to know that Is it possible? if so, would you provide a sufficient way to program my software on PC (Windows)? I…
4
votes
0 answers

Run Apache Servicemx on Raspi

Does anyone have experiences in running an Apache Servicemix on a Raspi? I wonder if the memory is enough for that. I would like to use the Raspi as Server for my Note Service when Im not using it with XBMC.
lrxw
  • 141
  • 2
4
votes
0 answers

How to update manually tomcat 7 7.0.28 to 7.0.47?

http://ryanfx.blogspot.com.br/2013/06/raspberry-pi-powered-android-controlled.html?m=1 Because I do this tutorial and used 7.0.28 version...I need new version because websocket jsr-356... ... how to update Tomcat on Raspberry Pi, after installing it…
neuberfran
  • 41
  • 1
  • 1
  • 3
3
votes
1 answer

java aggressive heap floating point exception

Hello I have been recently experimenting with kali linux 2.0 on my raspberry pi 3 . When I try running armitage I get the following error message Floating point exception When I looked into the error more I found the shell file that runs. I…
J_Nitro
  • 31
  • 2
3
votes
2 answers

Java is crashing my Pi

I am running ScreenConnect on some Rasp Pis and the Pi eventually hangs up and then it will crash and require a reboot to allow ScreenConnect to work again. This is in the ScreenConnect logs: # # SIGSEGV (0xb) at pc=0x7657407c, pid=1381,…
Jason
  • 241
  • 3
  • 9
3
votes
1 answer

Can I use Java SE libraries in Java SE embedded on a Raspberry Pi?

I wonder if I can use Java SE libraries (like the ones we use when designing desktop apps via Java) in Java SE embedded which can be installed on a Raspberry Pi. Is it possible?
2
votes
2 answers

Raspberry Pi 3 getting hot over time

So I‘m currently working on a program to turn on or off my Philips Hue lights when I enter my room. The detection if somebody is coming or which direction he is going is provided by one HCSr505 and two HCSr04 sensors. The program is a java program…
Janik
  • 21
  • 3
2
votes
0 answers

Jar file running on one RPI but not another RPI

I have two RPI's, a model B+ and a Pi 3 model B. They are both running Rasbian. I have made sure they have the same Java JDK on both (1.8.0_131) but one will execute a jar file, whereas the other cannot find or load main class Index. Any help…
2
votes
2 answers

Installing Java but being blocked by Permission Denied

I am trying to install java on my raspberry pi following the instructions on: http://www.oracle.com/technetwork/articles/java/raspberrypi-1704896.html, but at the instruction ./bin/java -version, I get Permission denied. I tried doing sudo…
topherg
  • 497
  • 1
  • 5
  • 17
2
votes
2 answers

Trying to port an Eclipse RCP application to Raspberry Pi

I have a pre-existing Eclipse RCP application that I'd like to port to the Raspberry Pi. In Eclipse Mars (4.5), there is support for cross-platform export to multiple Linux platforms (PPC, PPC64, PPC64LE, S390, S390x, x86, x86_64) but none for ARM.…
Irish Buffer
  • 121
  • 2
2
votes
1 answer

Raspberry development using Netbeans on Linux desktop

Is it possible to set up a project for Raspberry pi in Netbeans on Linux? If ME SDK 8 is only available for windows, are Linux users forced to use windows? I've tried using Remote Deploy in Netbeans 8 but it complains "No Java ME Platform found" I…
Artur
  • 21
  • 2
2
votes
1 answer

cannot execute binary file: Exec format error while running java 11.0.7-open with sdkman

I installed java 11.0.7-open using sdkman and I get this error: bash: /home/pi/.sdkman/candidates/java/11.0.7-open/bin/java: cannot execute binary file: Exec format error when running java --version or java -jar some_file.jar (specifically…
Cimlah
  • 55
  • 9
2
votes
1 answer

Trying to understand where to start with Rasbperry PI, Java and Jazelle

My project in class is requiring me to get an audio player to work with Rasbperry, Java and Arm Jazelle technology. I've been reading here and there trying to understand what Jazelle is and how to use it to run Java on the Rasbperry but everything…
A K
  • 33
  • 2
1
2 3