Building KAA on Operating System X

0 votes

After running mvn -f kaa/pom.xml clean install -DskipTests

I got: Full log

My environment:

kaa git:(master) mvn -v Picked up JAVA_TOOL_OPTIONS: -Xmx4096m -XX:MaxPermSize=2048m -Xms4096m Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=2048m; support was removed in 8.0 Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T18:41:47+02:00) Maven home: /usr/local/Cellar/maven/3.3.9/libexec Java version: 1.8.0_101, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.12.1", arch: "x86_64", family: "mac"

Sep 11, 2018 in IoT (Internet of Things) by Matt
• 2,270 points
733 views

1 answer to this question.

0 votes

Actually, it does not depend on OS. If your look at the section above the final build status of each module, you will see error message which will give you complete understanding of what is going wrong:

[ERROR] Picked up JAVA_TOOL_OPTIONS: -Xmx4096m -XX:MaxPermSize=2048m -Xms4096m
[ERROR] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=2048m; support was removed in 8.0
[INFO] Error occurred during initialization of VM
[INFO] Initial heap size set to a larger value than the maximum heap size

So, one of the way to fix this problem is to run next command in your terminal:

$ unset JAVA_TOOL_OPTIONS

But note that in such case you will remove JAVA_TOOL_OPTIONS only from current shell session. To completely remove it try to find this variable in .bashrc or .profile files in your home directory and remove it from there.

answered Sep 11, 2018 by anonymous2
• 4,240 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Autostart published Application on Windows 10 IoT

It can be done by making changes ...READ MORE

answered Jul 13, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
1,794 views
0 votes
1 answer
0 votes
1 answer

Detecting BLE beacons that are not ibeacons on IOS

You'll have to understand that CoreLocation is ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
875 views
0 votes
1 answer

Device EndPoint Management in Kaa IoT

Normally you could just request access tokens ...READ MORE

answered Aug 3, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
1,263 views
0 votes
1 answer

MQTT broker for Google App Engine

You had a hard time finding anything ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,525 views
0 votes
1 answer

Eclipse Paho: read data from MQTT Broker

From what I could analyze, you've been ...READ MORE

answered Aug 9, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
2,452 views
0 votes
1 answer

Need to enclose MQTTCLient Instance in try catch block

The instance doesn't need to be surrounded by try/catch, but ...READ MORE

answered Aug 21, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
1,250 views
0 votes
1 answer

MQTT : Connection lost on MQTT subscriber to Internet of Things Server

An invalid topic "matteo" seems to be causing the ...READ MORE

answered Oct 3, 2018 in IoT (Internet of Things) by Annie97
• 2,160 points
4,638 views
0 votes
1 answer

USB Mobile Broadband Modem on Windows 10 IoT

I was looking for a solution too, ...READ MORE

answered Jul 9, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
2,735 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP