Skip to content
Sandny Blog
  • Home
  • Java
  • JavaScript
  • AWS
  • Embedded
  • About
Installing Nios II Eclipse on Ubuntu Embedded

Installing Nios II Eclipse on Ubuntu

  • May 20, 2017December 26, 2019
  • by Coder Kai

When you want to use Altera Quartus and other software on Linux, sometimes it becomes tricky. It will show an error

Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/sandaruwan/altera/12.1sp1/nios2eds/bin/eclipse_nios2/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505/eclipse_1407.so which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.

 

and exit.

This is cauesed by the java version you are using as the jvm for Nios II.
It requires Java 7 32 bit version.

To install java 7 32 bit, use following

sudo add-apt-repository ppa:webupd8team/java sudo apt-get install openjdk-7-jre:i386

 

Then afterwards you don’t need to switch into java versions using update alternatives. You can -vm option to provide the java version.

./eclipse -vm /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java

This is the niosIIeclipse.desktop file I created for icon.

[Desktop Entry]
Name=Nios II Eclipse
GenericName=Development
Comment=Altera Nios II
Exec=env /home/sandaruwan/altera/12.1sp1/nios2eds/bin/eclipse_nios2/eclipse -vm /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java
Terminal=false
Type=Application
StartupNotify=true
Icon=/home/sandaruwan/altera/12.1sp1/nios2eds/bin/eclipse_nios2/icon.xpm
Categories=IDE;
Actions=Window;Document;
Keywords=IDE;Editor;Plaintext;Write;

It will show a nice icon as well. Change the path as you want. 

Use Dynamic Segments Routing in Ember 2.0 without Data Models
How to create a XA datasource in Wildfly 10 using the mysql jdbc connector
Coder Kai
A humble developer
Altera FPGA Nios Nios II Quartus

Related articles

WPA and WPA2 Enterprise WiFi…
Install Latest Maven 3
Kubuntu 15.04 KDE with Plasma 5.3 nvidia problem
Kubuntu 15.04 KDE with Plasma…

Categories

  • android 3
  • Apollo Client 1
  • AWS 8
    • AppSync 5
    • EC2 1
    • EKS 1
    • Route53 1
    • S3 1
  • AWS Amplify 1
  • Chakra UI 1
  • Docker 1
  • Embedded 1
  • EmberJS 1
  • FCM 1
  • Godaddy 1
  • GraphQL 3
  • ios 1
  • Jasper 1
  • Java 10
    • Java 11 1
    • Java 14 1
  • JavaEE 2
  • JavaScript 39
    • Express.js 4
    • Javascript Guide 7
    • Node.js 3
    • react-native 4
    • React.js 17
    • Typescript 1
  • Kubernetes 1
  • machine learning 1
  • Maven 2
  • OCaml 3
  • PostgreSQL 1
  • Python 2
  • react-native 4
  • ReactJS 3
  • sass 1
  • Server 6
  • spark 1
  • Terraform 2
  • Ubuntu 4
  • Uncategorized 1
  • webpack 2

Recent Comments

  • binance on Query definition in GraphQL and frequent errors with Apollo Client
  • JesseIrody on Difference Between npx and npm
  • conta binance on Add SASS in webpack React Redux project

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Archives

  • October 2022 3
  • September 2022 7
  • May 2022 1
  • December 2021 1
  • August 2021 1
  • July 2021 6
  • June 2021 3
  • February 2021 1
  • July 2020 1
  • December 2019 5
  • November 2019 6
  • October 2019 3
  • August 2019 1
  • March 2019 1
  • February 2019 1
  • January 2019 2
  • December 2018 1
  • September 2018 2
  • August 2018 1
  • June 2018 1
  • February 2018 1
  • November 2017 2
  • October 2017 5
  • September 2017 1
  • June 2017 1
  • May 2017 10
Sandny Blog space
Theme by Colorlib Powered by WordPress