
I created Java packages for the Synology NAS systems. These are meant for the YAMJ package I'm working on, but can of course be used by other scripts and programs.
Meanwhile I'm working on a YAMJ package (thanks to a hint from Omertron), but it needs a lot of work still to be done. I'll keep you posted.
Java is currently only available on x86 and ARM systems. The package is not startable but will be available from the command line after installation.
Java will be located at:
/usr/local/java/bin/java
Java SE Embedded is Available for: Marvell Orion mv5281, Marvell Kirkwood mv6281, Marvell Kirkwood mv6282, Intel Atom D410, Intel Atom D510, Intel Atom D525, Intel Atom D2700, Intel Core i3.
Check this page to find out what processor your NAS has.
How?
Just add my package repository http://packages.MissileHugger.com/ to the Package Center in DSM.
Go to "Other Sources" and install Java SE Embedded.
At the moment, the packages are for x86 and ARM only and they are still in béta state.
For me it doesn’t work (DS712+). I’ve installed Java first, then checked it at /usr/local/java/bin/java (ok, is there!), now I’m starting YAMJ, but I only get a white page and the cursor is showing something is trying to load, yet nothing else is shown.
Just wait a couple of hours (depends on the number of movies). Once YAMJ has finished, it will show it’s output. If you wan’t to run YAMJ from the command line, use the following commands:
cd /usr/local/YAMJ/
./run.sh
This will show the entire process of YAMJ realtime.
Hey!
First off thanks for making some quality packages for the Synology DSM!
I installed a few of them without incedint but several of them tell me that I need to install the specific Java embed version 1.6.0_32-4, when I already have version 1.6.0_32-009 installed. Will your packages work with this Java version? Is it possible for you to enable these packages to either work with version 1.6.0_32-009 or maybe any Java version that is 1.6.0_32-4 or newer so that I can put your hard work to good use on my DS1812+?
Thanks for your help!
Semper Fi
Nate Miller (Sgt, USMC Retired)
These packages are depending on the Java package from my repository.
Due to changes in the -4 package, some packages require the specifically version -4 of the Java package. I hope this answers your question.
Hi – I cannot seem to add your package source to my sources.
I don’t know whats up here – it says location not found. All others seem to work.
It seems there are some stability issues, please try again later or download manually.
Manual download:
- Visit http://packages.missilehugger.com in your browser.
- Press “toggle info” next to the desired package.
- Download the spk according to your Synology’s architecture
ps its on the ds212+ dsm4
I’m trying to decide which package is appropriate. Yours or PCLoadLetter’s.
http://pcloadletter.co.uk/2011/08/23/java-package-for-synology/
I’m mainly wanting Java to be able to run Subsonic. Synology’s audio station is great and all but not quite as good as Subsonic
.
http://www.eg-blog.de/?cat=8
I’ve tried both Java packages but neither seemed to work directly straight away. At least not with that Subsonic package.
Would really be nice if this stuff was installable from root with ipkg so that some things could be customized before install.
Thoughts?
Spoke too soon I guess. Using the other package since it seems to work correctly with the Subsonic install script.
The Java package I published at pcloadletter.co.uk is legally compliant with the Oracle licence agreement. The one here isn’t because it redistributes Oracle’s binaries. This is forbidden in the licence.
This explains why Synology haven’t done an ‘official’ Java package. In making it easy to install like this one, there’s a legality problem, but to stay compliant introduces a difficulty hurdle for newbies (they have to download the file from Oracle which the package uses). Rock and hard place…
It’s interesting that you put a copyright on this website…
The website is copyrighted, not the packages.
I create packages in my free time, with no intention of copyright infringement.
As far as I can see, my package complies with the Java license:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holders nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
Can’t download the april build anymore from Oracle. It says April in the download link but it’s a July build now and doesn’t work with you’re installer.
Thanks, this works perfectly on my DS410j. Not much power in the processor though, but still, java works!
Anything you can think of to get this working on my DS-508 (Freescale mpc8543 PPC)? I’m dying to use FileBot!
Many thanks, works well on my DS112+ together with Tomcat.
Ah crap, this doesn’t work with the 210+ because ti has the freescale chip!
Hello,
I just installed your package java-88f5281-1.7.0_06-1.spk on my Synology 207+ which should has Marvell Orion mv5281 ARM processor. Installation using DSM Package Management was successful and package Java SE Embedded is “running”. But what I need is run java in console. So I connected to my NAS using Putty and in shell executed
/usr/local/java/bin/java -version
with this result:
-sh: /usr/local/java/bin/java: not found
The I tried to add bin folder to PATH with no changes. File java should has linux run perrmission:
-rwxrwxrwx 1 root root 3368 Aug 10 05:11 java
Is there anyone who can help with this? I want to run Jetty server in my NAS.
Many thanks to all who can help me solve this issue
Hi MissileHugger,
I’m the DS209J User, i did try all JAVA SE Embedded SPK that you provide at http://packages.MissileHugger.com/ but all not work, somebody told me that the new version can’t use in my NAS, so is there any old version provide? I really need JAVA in my NAS.
Please help me!!
Hello MissileHugger,
I have java up and running and craftbukkit running but the plugins will not load do to the java ver. Both yours or pcloaders java install.
DS712+ many thanks minecraft / bukkit 1.5.1
The game runs great but I would love to have my plugins working.
Hello,
pretty useful packages for java developers ! However, I’ve got this error trying to execute a class file (depending on xuggler jar) on DiskStation console :
Exception in thread “main” java.lang.UnsatisfiedLinkError: no xuggle in java.library.path
…
It works well on a macosx/eclipse with java 1.6 SE.
Any clues to solve this ?
Thanks in advance,
Jean
ok, native code. Need to compile source code on synology …
Salut Paters,
Merci pour ce package, c’est géant !!
J’ai une question, j’ai télécharger l’application jdownloader sur mon syno et je voulais savoir comment l’exécuter. J’ai bien télécharger la version avec le jar et j’aimerai maintenant savoir comment l’exécuter.
Merci