Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Jan 22, 2018 1:00 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 24 posts ]  Go to page 1 2 Next
Author Message
 Post subject: Java
PostPosted: Sat Mar 21, 2009 1:30 pm 
Offline
Newbie

Joined: Tue Dec 11, 2007 8:27 pm
Posts: 10
Does anybody know if (or how) i can install java 1.6 on an LS2?

Or is any other Box available that can run java?


Top
   
 Post subject: Re: Java
PostPosted: Sat Mar 21, 2009 3:05 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
Is the package you are looking for available in Debian (packages.debian.org)?

If so, that would be the easiest way to go, probably.

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
 Post subject: Re: Java
PostPosted: Sat Mar 21, 2009 5:59 pm 
Offline
Regular Member

Joined: Tue Nov 27, 2007 3:19 pm
Posts: 217
Location: Dresden, Germany
JRE or JDK?
JRE: There is sun-java6-jre in Debian lenny (or etch-backports) or openjdk-6-jre-headless (lenny only).
JDK: openjdk-6-jdk (lenny only).

_________________
LS Pro v1:
  • Freelink (Debian etch), kernel: 2.6.16.57-lsp_eabi-dh_v3, gigabit network (9k jumbo frames)
  • running: mt-daapd (aka firefly), smb, amule, vsftpd, mysql, rsnapshot, micro_evtd testing ;)
  • upcoming: ampache (+ coherence), aria2, slimrat, apache, streamripper (record what my soundbridge is playing)...


Top
   
 Post subject: Re: Java
PostPosted: Sun Mar 22, 2009 2:00 am 
Offline
Newbie

Joined: Fri Mar 20, 2009 7:36 pm
Posts: 17
Thanks thats interessting for me too.

How do i install the jre? I tried "apt-get sun-java6-jre" but he didnt found the linked packages.
Whats "lenny only"? Is it a software like Freelink? How can i update? Or install?


Top
   
 Post subject: Re: Java
PostPosted: Mon Mar 23, 2009 1:02 pm 
Offline
Regular Member

Joined: Tue Nov 27, 2007 3:19 pm
Posts: 217
Location: Dresden, Germany
Lenny ist the name of the current stable Debian (aka Debian 5). The previous stable Debian was etch. Freelink is based on etch.
So "lenny only" means that those packages are available in lenny (and upwards), not in the older etch.

You can browse packages for the various Debian versions online. For example these are the results for packages containing "jre" in their names: click me

Besides the prepared apt-packages, you can download jdk "trial" versions at sun's website: http://java.sun.com/javase/downloads/embedded.jsp

_________________
LS Pro v1:
  • Freelink (Debian etch), kernel: 2.6.16.57-lsp_eabi-dh_v3, gigabit network (9k jumbo frames)
  • running: mt-daapd (aka firefly), smb, amule, vsftpd, mysql, rsnapshot, micro_evtd testing ;)
  • upcoming: ampache (+ coherence), aria2, slimrat, apache, streamripper (record what my soundbridge is playing)...


Top
   
 Post subject: Re: Java
PostPosted: Mon Mar 23, 2009 6:21 pm 
Offline
Newbie

Joined: Tue Dec 11, 2007 8:27 pm
Posts: 10
Thanks for the tips. Can i update my freelink to lenny?

If i see it correct there is only Java 1.4.2 available for MIPS Linux Systems. But what Version is the correct one?

Quote:
MIPS Linux - Headless (Early Access)
glibc2.3.2, Big Endian
glibc2.2.5, Little Endian
glibc2.3.2, Little Endian


This is only evaluation Software. Isnt Java free anymore?


Top
   
 Post subject: Re: Java
PostPosted: Mon Mar 23, 2009 7:27 pm 
Offline
Regular Member

Joined: Tue Nov 27, 2007 3:19 pm
Posts: 217
Location: Dresden, Germany
MikeThomson wrote:
Thanks for the tips. Can i update my freelink to lenny?


I have seen some users here which apparently have lenny running on their mips-boxes.
My LS Pro is arm-based and I have not yet upgraded to lenny so I cannot help you on that topic.

MikeThomson wrote:
If i see it correct there is only Java 1.4.2 available for MIPS Linux Systems. But what Version is the correct one?

Quote:
MIPS Linux - Headless (Early Access)
glibc2.3.2, Big Endian
glibc2.2.5, Little Endian
glibc2.3.2, Little Endian



Again, I don't have a mips-based box so I can only guess: Little Endian at least, and for your current glibc version you could query apt-get/aptitude.

But that 1.4.2 version should be the last resort only - if you can't find anything better!
If you just need an jre (and you don't want to upgrade to lenny), then maybe this is something for you: http://packages.debian.org/etch-backports/sun-java6-jre
See http://www.backports.org for more information.

EDIT: The backport-jre-package does NOT seem to be "headless" so I don't know whether it will run well on the very limited linkstation.

MikeThomson wrote:
This is only evaluation Software. Isnt Java free anymore?

Those SE versions for embedded use are special...only Sun knows why. ;)

_________________
LS Pro v1:
  • Freelink (Debian etch), kernel: 2.6.16.57-lsp_eabi-dh_v3, gigabit network (9k jumbo frames)
  • running: mt-daapd (aka firefly), smb, amule, vsftpd, mysql, rsnapshot, micro_evtd testing ;)
  • upcoming: ampache (+ coherence), aria2, slimrat, apache, streamripper (record what my soundbridge is playing)...


Top
   
 Post subject: Re: Java
PostPosted: Mon Mar 23, 2009 7:37 pm 
Offline
Betatester
User avatar

Joined: Thu Jul 14, 2005 4:38 pm
Posts: 941
Location: England
MikeThomson wrote:
Thanks for the tips. Can i update my freelink to lenny?


Yep, with u-boot and have you checked your messages? You asked me back in December for a kernel with idx support was it? :p


Top
   
 Post subject: Re: Java
PostPosted: Mon Mar 23, 2009 9:58 pm 
Offline
Newbie

Joined: Fri Mar 20, 2009 7:36 pm
Posts: 17
Thanks

the mentioned java package at backport wont work:

Quote:
apt-get -t lenny-backports install sun-java6-jre
Reading Package Lists... Done
Building Dependency Tree... Done
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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
sun-java6-jre: Depends: sun-java6-bin (= 6-12-1) but it is not installable or
ia32-sun-java6-bin (= 6-12-1) but it is not installable
E: Broken packages


do you have an tutorial about using u-boot on an LS? or any other solution. I only need a headless java running.


Top
   
 Post subject: Re: Java
PostPosted: Mon Mar 23, 2009 10:44 pm 
Offline
Regular Member

Joined: Tue Nov 27, 2007 3:19 pm
Posts: 217
Location: Dresden, Germany
First, try aptitude instead of apt-get. Sometimes aptitude is smarter when it comes to resolving dependencies...
If that doesn't help, try installing sun-java6-bin separetly BEFORE installing sun-java6-jre...

EDIT: I have just seen that sun-java6-bin is not available for mips/mipsel. So providing sun-java6-jre for mips/mipsel in backports is completely useless... :down:

_________________
LS Pro v1:
  • Freelink (Debian etch), kernel: 2.6.16.57-lsp_eabi-dh_v3, gigabit network (9k jumbo frames)
  • running: mt-daapd (aka firefly), smb, amule, vsftpd, mysql, rsnapshot, micro_evtd testing ;)
  • upcoming: ampache (+ coherence), aria2, slimrat, apache, streamripper (record what my soundbridge is playing)...


Top
   
 Post subject: Re: Java
PostPosted: Mon Mar 23, 2009 10:54 pm 
Offline
Newbie

Joined: Fri Mar 20, 2009 7:36 pm
Posts: 17
So there is no possibility to run java?


Top
   
 Post subject: Re: Java
PostPosted: Tue Mar 24, 2009 12:17 am 
Offline
Regular Member

Joined: Tue Nov 27, 2007 3:19 pm
Posts: 217
Location: Dresden, Germany
As we have seen your options for running java on a mips based box with debian etch are very limited.
You should really upgrade to debian lenny if you want to use a recent headless jre!

_________________
LS Pro v1:
  • Freelink (Debian etch), kernel: 2.6.16.57-lsp_eabi-dh_v3, gigabit network (9k jumbo frames)
  • running: mt-daapd (aka firefly), smb, amule, vsftpd, mysql, rsnapshot, micro_evtd testing ;)
  • upcoming: ampache (+ coherence), aria2, slimrat, apache, streamripper (record what my soundbridge is playing)...


Top
   
 Post subject: Re: Java
PostPosted: Fri Mar 27, 2009 4:36 pm 
Offline
Newbie

Joined: Fri Mar 20, 2009 7:36 pm
Posts: 17
Thanks,

have anybody an tutorial how to update to lenny on the LS?


Top
   
 Post subject: Re: Java
PostPosted: Fri Mar 27, 2009 5:22 pm 
Offline
Betatester
User avatar

Joined: Thu Jul 14, 2005 4:38 pm
Posts: 941
Location: England
andre is working on something that will flash uboot (required for 2.6, 2.6 required for Lenny). You could do it manually. Some LS2's have different chips and one of these chips has a problem flashing to a certain part of ROM I believe. Neither chip affects installing uboot though.

What do you get if you issue:

Code:
dmesg | grep MX29LV320T


I'd wait a bit if I was you


Top
   
 Post subject: Re: Java
PostPosted: Fri Mar 27, 2009 7:25 pm 
Offline
Newbie

Joined: Fri Mar 20, 2009 7:36 pm
Posts: 17
Hi,

i get nothing:

Quote:
FreeLink @ Debian GNU/Linux 3.1 %h
powered by http://www.linkstationwiki.net/
Have a lot of fun!
root@LINKSTATION:~# dmesg | grep MX29LV320T
root@LINKSTATION:~#


Quote:
I'd wait a bit if I was you

I like to try it. If someone can give me some tips.

Quote:
You could do it manually.

How?

Thanks for your help!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 24 posts ]  Go to page 1 2 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited