SBC2 java package

Supporting Java SE version 7 and up
Post Reply
DarylL
Fresh meat
Posts: 3
Joined: Fri Apr 24, 2020 9:34 am
Contact:

SBC2 java package

Post by DarylL »

I have written a jar file using netbeans and uploaded it to my old 1072.

When I check the version in netbeans i get jdk 12

When I check the java version on my computer it states the following but i can't seem to update it to version 12

java - version gives me:
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) Client VM (build 25.251-b08, mixed mode, sharing)

I have also tried to update java on the SBC with no success. Can someone tell me what i am doing wrong?? stderr gives me the following...

Code: Select all

Refreshing...

Err http://www.emdebian.org squeeze Release.gpg
Something wicked happened resolving 'www.emdebian.org:http' (-5 - No address associated with hostname)
Err http://www.emdebian.org/grip/ squeeze/dev Translation-en
Something wicked happened resolving 'www.emdebian.org:http' (-5 - No address associated with hostname)
Err http://ftp.us.debian.org squeeze Release.gpg
Something wicked happened resolving 'ftp.us.debian.org:http' (-5 - No address associated with hostname)
Err http://www.phidgets.com squeeze Release.gpg
Something wicked happened resolving 'www.phidgets.com:http' (-5 - No address associated with hostname)
Err http://www.emdebian.org/grip/ squeeze/doc Translation-en
Something wicked happened resolving 'www.emdebian.org:http' (-5 - No address associated with hostname)
Err http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en
Something wicked happened resolving 'ftp.us.debian.org:http' (-5 - No address associated with hostname)
Err http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Something wicked happened resolving 'ftp.us.debian.org:http' (-5 - No address associated with hostname)
Err http://www.phidgets.com/debian/ squeeze/main Translation-en
Something wicked happened resolving 'www.phidgets.com:http' (-5 - No address associated with hostname)
Err http://ftp.us.debian.org/debian/ squeeze/non-free Translation-en
Something wicked happened resolving 'ftp.us.debian.org:http' (-5 - No address associated with hostname)
Err http://www.emdebian.org/grip/ squeeze/java Translation-en
Something wicked happened resolving 'www.emdebian.org:http' (-5 - No address associated with hostname)
Ign http://www.phidgets.com squeeze Release
Ign http://www.phidgets.com squeeze/main Sources/DiffIndex
Ign http://ftp.us.debian.org squeeze Release
Err http://www.emdebian.org/grip/ squeeze/main Translation-en
Something wicked happened resolving 'www.emdebian.org:http' (-5 - No address associated with hostname)
Ign http://www.phidgets.com squeeze/main armel Packages/DiffIndex
Err http://ftp.us.debian.org squeeze/main armel Packages
Something wicked happened resolving 'ftp.us.debian.org:http' (-5 - No address associated with hostname)
Ign http://www.emdebian.org squeeze Release
Err http://ftp.us.debian.org squeeze/contrib armel Packages
Something wicked happened resolving 'ftp.us.debian.org:http' (-5 - No address associated with hostname)
Err http://ftp.us.debian.org squeeze/non-free armel Packages
Something wicked happened resolving 'ftp.us.debian.org:http' (-5 - No address associated with hostname)
Err http://www.phidgets.com squeeze/main Sources
Something wicked happened resolving 'www.phidgets.com:http' (-5 - No address associated with hostname)
Err http://www.emdebian.org squeeze/main armel Packages
Something wicked happened resolving 'www.emdebian.org:http' (-5 - No address associated with hostname)
Err http://www.phidgets.com squeeze/main armel Packages
Something wicked happened resolving 'www.phidgets.com:http' (-5 - No address associated with hostname)
Err http://www.emdebian.org squeeze/dev armel Packages
Something wicked happened resolving 'www.emdebian.org:http' (-5 - No address associated with hostname)
Err http://www.emdebian.org squeeze/java armel Packages
Something wicked happened resolving 'www.emdebian.org:http' (-5 - No address associated with hostname)
Err http://www.emdebian.org squeeze/doc armel Packages
Something wicked happened resolving 'www.emdebian.org:http' (-5 - No address associated with hostname)

Installing...

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libphidget21-java : Depends: libphidget21-dev (= 99:2.1.9.20200417-1) but it is not going to be installed

Done.
User avatar
Patrick
Lead Developer
Posts: 634
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: SBC2 java package

Post by Patrick »

1072 has moved away from the Emdebian repo in 2015. You will need to first update your firmware using the recovery system and a USB flash drive to the latest image from here: https://www.phidgets.com/docs/OS_-_Phid ... _Downloads

Then, because Debian 7 has reached end of life, you will need to modify the file /etc/apt/sources.list.d/multistrap-debian.list :

Code: Select all

#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
deb http://archive.debian.org/debian wheezy main contrib
You can do this from the System-->File editor in the web interface. 1072 will not be upgraded to a newer Debian by us, but we do continue to release updates to the Phidgets libraries.

After this, you should be able to refresh packages and install Java support. 1072 runs Java 6 so make sure you target this when compiling your Jar.

-Patrick
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests