MANGO on Windows 10 IOT possible ?
-
Hi JF89, welcome to the forum!
I did not manage to install mango on raspbian (raspberry PI 3 B +) with SD card, with Noobs
I do not know enough linux to realize the commands that install JRE JDK packages, and unpack mango.Did you see this page? https://help.infiniteautomation.com/linux-installation
With noobs, by installing windows 10 IOT Core, and mango for windows would it work like a normal windows?
The installation of JDK and JRE would be simpler, and only need to unzip mango?
Will mango as fast as another windows 7, for example?We do not have internal experience (to my knowledge) using Windows 10 IoT Core, and so I can't comment on it. We do still advise our clients to opt for Linux environments.
-
I would add that Java performance on Linux is better than Windows. Oracle generally recommends Linux on most of their products. Specifically they recommend Oracle Linux, which 95% the same to Red Hat. All that to say that I would probably take the time to learn Linux if you want to use Mango. It's actually not that hard.
Good Luck in your endeavours.
-
Hello,
Here are my troubles with installing oracle JDK and unzipping mango linux
mkdir /opt/mango
should besuso mkdir /opt/mango
not easy:
sudo nano /etc/environmentunziping mango starts and the HDD USB run all night and stucked ( I used Kboot to install linux raspbian)
not familiar with save /etc/environment (ctrl+x) and how to save the script
stuck here sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/java/jdk1.8.0_131/bin/javac" 1
Linux is very special with users rights , an automatic script would be appeciated for people doesn’t know linux.
In windows , only unzip and just add shortcut on : ma-start.bat , makes the mango software run.
-
JF89,
I have a saying that applies, " It's difficult until you know how"
I understand there is alot to learn. I promise you it is worth it to put the effort. Mainly because the power of Linux far exceeds the power of Windows, but it does come at a cost. That cost is time digging, trying, and eventually succeeding.
The alternative if you just want to get up and running is to get a regular Windows computer. Windows IoT is a special beast. You may run into big troubles there. Of course you may not, so feel free to try, but just know Windows IoT could be a challenge as great as learning Linux. Of course I always recommend just trying to see if it works. I think you will find much more support for Linux than you will for Windows IoT and I mean that in a general sense, not just Mango.
Good Luck in your endeavours!
-
Hello,
I have a problem with the declaration of this file using the command nano
sudo nano /etc/environment
Originally this file is empty
As mentioned, I added this statementJAVA_HOME=/usr/local/java/jdk1.8.0_211
But I do not understand the meaning of this instruction:
If you have path settings add at the end of PATH following :/usr/local/java/jdk1.8.0_131/bin”Should we add it to the instruction, To get it In the file /etc/environment :
JAVA_HOME=/usr/local/java/jdk1.8.0_211
Path =/usr/local/java/jdk1.8.0_211/binI tried, but this instruction does not work:
sudo update-alternatives --install java /usr/bin/java /usr/local/java/jdk1.8.0_131/bin/javaThe answer obtained and that install needs link, name ,path, priority.
I am using a Linux Kali version 2.0.1 lite
Do you have an idea of what can block ?
I think it’s the problem of Path =/usr/local/java/jdk1.8.0_211/binIs it better to put in the /etc/profile ?
-
This is how my environment looks, I am running linux mint
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/java/jdk1.8.0_191 "
JAVA_HOME=/usr/local/java/jdk1.8.0_191I am not an expert on this but maybe it is because your path is not in
" "
-
Hi JF89,
I'm not exactly sure what your question is, but, you can see how Mango attempts to find the java executable in the Mango/bin/ma-init.sh on Linux, with the TLDR being it first checks for JAVA_HOME, and then if that's not defined it tries whatever 'java' resolves to on the PATH, as you have observed.
-
Hi Craig,
I fill in the file: etc/environment with the following instructions:
JAVA_HOME=/usr/local/java/jdk1.8.0_211
PATH="/usr/local/java/jdk1.8.0_211/bin"It is still not possible to run:
sudo update-alternatives --install java / usr / bin / java /usr/local/java/jdk1.8.0_211/bin/javaI get the answer:
install needs link, name, path, priority.In my opinion, it must be a problem of rights.
The files are however in the Filesystem directory.
Do you also think that it is a problem of rights? (I use root to connect).
Can you tell me where is the file that contains your path ? and what name is it ?
is it etc/environment ? /etc/profile ?Thanks for your help
-
To better understand the PATH variable in general in Linux, your questions are answered by other places on the internet already, as is the explanation for the syntax error in your update-alternatives command (you appear to have written them in the order name, link, path and have no priority (a number)).
This stack overflow thread probably has the answer to your questions: https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix
-
Hi JF89
If you were able to run these commands
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/java/jdk1.8.0_131/bin/javac" 1 sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jdk1.8.0_131/bin/java" 1
You are fine. I actually don't believe that the 3rd one should be there. It has the wrong order and is a duplicate of the second command. @phildunlap can you confirm?