OpenIotOrg / openiot

The Open Source Project for the Internet of Things
459 stars 189 forks source link

JBoss version & Java Version #144

Open jsoares11 opened 5 years ago

jsoares11 commented 5 years ago

Hello,

I'm trying to install OpenIoT and I'm having a lot of problems, I'd like to request some assistance.

I downloaded the JBoss version you recommended in the installation guide (JBoss 7.1.1 Final), I understand that this is an older version, since there are more recent ones, with a different name: Wildfly.

I tried to run ./standalone with my current, at the time, java version which was java 8. I had this problem saying my java location was with permission denied... whatever that means.. after some search on the web, I tried to chmod a+x the location, but no use... I had to reinstall my java 8 version. That way i got to the point where standalone would run but be stuck at "starting...", after some search I found out that java 8+ versions wont work with jboss, only with wildfly versions. Since I was trying to follow your guideline, I didn't install wildfly, instead tried to install java 7, which is not supported anymore by oracle. Only to find out that running standalone with it gives me the same old error "/opt/jdk/jdk7/bin: Permission denied"

Any clues you can give me on how to run OpenIoT on my machine (Ubuntu 18)? Am I wrong in any of my conclusions? Is it possible that I installed Java 7 the wrong way (I downloaded jdk from the oracle archives, unziped the file in opt/jdk/ and then updated JAVA_HOME, java -version says Java 1.7...)?

Thank you in advance.

José Soares