wiki.allensmith.net

Personal "Rough Notes & Useful Links

User Tools

Site Tools


kb:linux:mintjqtinstall

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

kb:linux:mintjqtinstall [2014/08/28 10:30]
Allen Smith Select References section
kb:linux:mintjqtinstall [2016/01/13 20:35]
Line 1: Line 1:
-====== Linux Mint: Install J Programming Language ====== 
-{{INLINETOC}} 
-This page contains **Summary Notes** for how I was able to install J802 onto some Training PCs running Linux Mint Xfce. These notes are specific to J802 -- so some variation of the below might be needed to install earlier versions of the J Programming Language. 
  
-===== Install J802 on Mint 13 Xfce ===== 
-Mint 13 is based on Ubuntu 12.04 LTS ... so hopefully this will help with all Linux Distributions that are based on 12.04 LTS. 
-<​note>​The J Programing Language requires Qt 4.8 -- and on Mint 13 Xfce not all the required libraries are installed. So the below command should install the required Qt files ... with only ''​libqtwebkit4''​ actually needing to be installed on Mint 13 Xfce.</​note>​ 
-  * In the Terminal window run (copy & paste) the following command: 
-  * <​code>​sudo apt-get install libqtcore4 libqtgui4 libqt4-opengl libqtwebkit4</​code>​ 
- 
-Now continue by following the instructions to install J in Mint 17 Xfce. 
-===== Install J802 on Mint 17 Xfce ===== 
-Mint 17 is based on Ubuntu 14.04 LTS ... so hopefully this will help with all Linux Distributions that are based on 14.04 LTS. 
-  * Download the Linux install file for J and run the Linux Installer 
-    * http://​www.jsoftware.com/​download/​j802/​install/​ 
-      * Download the correct (32bit or 64bit) .deb file for J802 
-      * In the Downloads directory, double click on the (just downloaded) .deb file, and install it. 
- 
-  * Now run Jconsole -- using ''​sudo''​ to provide the necessary permissions to then install the rest of the J language files and JQt IDE\\ → In the Terminal window run (copy & paste) the following command: 
-  * <​code>​sudo /​usr/​bin/​ijconsole</​code>​ 
-    * Jconsole is now running in the same terminal window the above command was run in. So in Jconsole, run (copy & paste) the following commands: 
-    * <​code>​install '​all'​ 
-exit ''</​code>​ 
-<​note>​ If the above finishes by installing JQt binaries -- without spitting out lines of output that say something has gone wrong -- then the J Programming Language has been successfully installed.\\ \\ **However**,​ the above install steps only puts Jconsole into the Programs Menu -- with the JQT IDE **not** found in the Menu. The simplest work-around for this is to just place an Icon for Jconsole and for JQt IDE onto the user's Desktop.</​note>​ 
-  * Now mark the files that will be used to run **Jconsole** and the **JQt IDE** as executable\\ → In the still open Terminal window run (copy & paste) the following commands: 
-  * <​code>​cd /​usr/​share/​j/​8.0.2/​ 
-sudo chmod +x *.desktop 
-exit</​code>​ 
-  ​ 
-  * And finally create the Desktop Links to run **Jconsole** and the **JQt IDE** 
-      * Using the Thunar File Manager ​ go to → File System >> usr >> share >> j >> 8.0.2 
-      * Using the top-of-window menus → View >> View as Detailed List 
-      * right-click ''​Jconsole''​ (w/ Green "​J"​ icon) >> Send To >> Desktop (Create Link) 
-      * right-click ''​JQt IDE''​ (w/ Green "​J"​ icon) >> ​ Send To >> Desktop (Create Link) 
- 
-===== Test Using Jconsole & JQt IDE ===== 
- 
-  * **Jconsole** can be run using **either** "​Menu"​ icon >> Development >> Jconsole **or** the Jconsole icon on the Desktop 
-    * The [[http://​www.jsoftware.com/​jwiki/​Studio/​TasteofJPart1 | A Taste of J (part 1)]] and [[http://​www.jsoftware.com/​jwiki/​Studio/​TasteofJPart2 | A Taste of J (part 2)]] introduction/​example code all works 
- 
-  * **JQt IDE** is run using the Desktop Icon 
-    * The top (1st) Example Code from http://​www.jsoftware.com/​jwiki/​Studio/​Viewmat can be run as follows: 
-    * top of window menu >> File >> New temp  (**or** type Ctrl-N) 
-    * In the window that opened, Copy & Paste the following lines into the Green text area of that window<​file>​ 
-require '​viewmat'​ 
-hp=: 3 : '​(|.,​]) 1 (0 _2 _2 ,&.> _2 _1 0 + #y) } (,.|:) y' 
-MG=: 256 #. 128 0 128,:0 192 0 
-viewrgb 2 ([ # #"1) MG {~ hp ^:6 [ 0, 0 1 0 ,: 0 
-</​file>​ 
-     * Select the Green Triangular "​Run"​ icon (Run All Lines) 
-       * This should open a new window with the results image shown below: 
-{{kb:​viewmat_hp1.png}} 
- 
-===== Select References ===== 
- 
-  * [[https://​www.mail-archive.com/​general@forums.jsoftware.com/​msg01071.html | Re: [Jgeneral] Suite : Friends, i will get crazy]] ... "​However,​ I remember getting jqt working on ubuntu 12 ..." 
-  * [[http://​comments.gmane.org/​gmane.comp.lang.j.general/​8680 | jqt ubuntu]] ... for J801 → "Linux jqt was built with Qt4.8" 
-  * [[https://​www.mail-archive.com/​general@forums.jsoftware.com/​msg00970.html | Re: [Jgeneral] j802 labs]] ... **old** (version 1.x) OpenGL support removed from J802 
-  * [[http://​www.jsoftware.com/​jwiki/​Studio | J Studio -- Basic Examples]] ​ ... some Example/​Tutorial code for using J 
kb/linux/mintjqtinstall.txt · Last modified: 2016/01/13 20:35 (external edit)