I have finally managed to get iReports working under Ubuntu 18.04. To start it I need to go to a command window, cd to /opt/iReports5.6.0/bin, and then type ./ireports. Why, I have no idea? If I type ireportes.exe in the bin directory it doesn't start. Regardless it took countless hours to get the correct version of java (1.7) to run instead of 1.8, which was a sticking issue. In Windows I would just create a shortcut to a batch file that would change the directory to /opt/iReports5.6.0/bin/ and then execute ./ireports. And I would then drop the shortcut onto the desktop.   Is there anything analagous in Ubuntu 18 world?
6383
In older versions it was easy to create a launcher on my desktop. All I had to do is right click on my desktop and select the "create launcher" option.  How can I create such launchers now?
67898
I am running Linux 4.9.11-1.0.0 on my iMX7 dual development board. I have a test.sh file that I would like to run at startup. It currently only has a bunch of echo statements in it (just for testing purposes).   When I flick the switch on the board to turn it on, I see a bunch of initialization stuff come up. I would like the echo statements in my test.sh file to also be displayed in this initialization sequence on startup. Eventually once this is working, the plan is to do real stuff in place of the simple echo statements. I just want to make sure the script is running on startup at this point.  So far I have created the test.sh file and I am able to run it manually after the board has booted up. I have added the following to my /etc/rc.local file before the exit statement at the end:  sh '/home/root/test.sh'   I have verified that this rc.local file has #!/bin/sh -e at the top. I have also done:  $ chown root /etc/rc.local $ chmod 777 /etc/rc.local   Once this was all done, I verified that it should be working properly by typing:  $ /etc/init.d/rc.local start   Everything is working as expected up until this point and I am seeing the echo statements when I do that last step. However, when I go and try to reboot the board, I do not see the echo statements at all in the printed initialization stuff.  What am I missing? Maybe it is actually running on startup but I just don't see the output for some reason?
65023
how to create a shortcut for a exe from a batch file.  i tried   call link.bat "c:\program Files\App1\program1.exe" "C:\Documents and Settings\%USERNAME%\Desktop" "C:\Documents and Settings\%USERNAME%\Start Menu\Programs" "Program1 shortcut"   but it did not worked.  link.bat can be found at
101230
we are new to Ubuntu.Recently we changed my server OS to ubuntu 12.04 from windows 7 . every one have their own login details. one of my college installed Open-Jdk7. I asked him, where you installed JAVA, then he suggested to switch the following directory  su root cd /usr/lib/Jvm   Totally 3 folders are there in JVM folder. names are.   java-1.7.0-openjdk-amd64 java-7-openjdk-amd64 java-7-openjdk-common   generally, If you install Java in Windows, we will get 2 folder. 1 folder is for JDKand another points to JRE.  but, in Ubuntu we have 3 folders. is it right?  for my conformation, whether he installed correctly or not. I open Terminal. I run the following 2 commands   javac  java -version   both commands are working fine.  now I want to set-up Java-Home and Path for all users at same place.because everyone is working on Application server.  Can anyone explain step-by-step.  Thanks.
112877
How can I open a command prompt in current folder with a keyboard shortcut in Windows 7? Is there any way to implement this? I think Autohotkey could do this, but don't know how.
44317
Recently, I have installed an application (gnuplot) under user directory (/home/usr/bin). I want to run the application whenever I type 'gnuplot' in any directory. What could I do?  I tried to set the path in ~/.cshrc by  setenv gnuplot /home/usr/bin/gnuplot   but it doesn't work. It reports "command not found" as I type gnuplot in the terminal.
38745
I have installed both OpenJDK 6 and 7. When I run "java somefile" from the command line, OpenJDK 6 is invoked. I do not want to change this default behavior. What command can I use to run my non-default OpenJDK 7 installation instead?  (I am used to running "python somefile" to invoke the default Python, "python2.7 somefile" to use Python 2.7 specifically and "python3 somefile" to use Python 3 specifically.)
62318
I downloaded and installed Java 1.7 from .  When I run the Java Control Panel, I could check I have it correctly installed.     However, when I checked the Java version from command line, the version that I use is Java 1.6.  java -version java version "1.6.0_33" Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720) Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)   The system directory doesn't have the 1.7.    What's wrong with this?   Where is the Java 1.7 is installed? How can I make the Java 1.7 as default Java?
21190
It is possible to use autorun.inf on a CD rom to make it run an exe without prompting the user but the same is not possible on a USB drive. Why? If its possible, how? On a USB drive it just prompts the user to select an action.
17764
What is the shortcut for opening a new window (opening folders). for that I have to go to folder options and right click and then need to click on open new window.  or I have to make focus on the folder icon or open a folder then press  Ctrl+N  for opening a new window is there any direct command spcific to open a new window in ubuntu.
90980
I installed java-8 using a PPA. After that I gave a command:  export JAVA_HOME=/usr/lib/jvm/java-8-oracle   I had heard somewhere that this command does temporary changes. But after many logouts and logins, these commands below still works (I think due to that export ... command):  java -version javac -version   But when I give the command:  export -p   It shows a list of environment variables, but in that list, does not show variable JAVA_HOME. Moreover, I wonder how the commands java and javac still works!  Can someone tell me in which file export command make changes? Are they temporary or permanent? And what else happens above? Please elaborate!
79448
I am trying to run an executable file from a network drive on Windows 7 Professional (64-bit) in order to install a program, but, each time I try, it doesn't run and the following message appears:  {path-name} The specified path does not exist. Check the path, and then try again.   I am definitely connected to the network drive as I can see all of the directories and files, and can even open non-executable file types. Also, I am fairly confident that this is neither a firewall nor a permissions issue.
81115
It's weird that creating desktop shortcuts is currently so primitive.  I found the following:   That helps.  However, if there's something wrong with the shortcut, it just doesn't do anything.  For instance, I tried to create a shortcut for this command line to create a shortcut.  When I double-click it, it just does nothing.  This is the resulting text of my "Create Desktop Shortcut.desktop" file on the desktop:  [Desktop Entry] Version=1.0 Type=Application Terminal=false Icon[en_CA]=gnome-panel-launcher Exec=/usr/bin/gnome-desktop-item-edit ~/Desktop/ --create-new Name[en_CA]=Create Desktop Shortcut Name=Create Desktop Shortcut Icon=gnome-panel-launcher   As I said, when I double-click this, or right-click it and select Open, nothing happens.  Is there a log file where something about this would be written to?
85095
How do I launch Windows'  with certain path located, like "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0", so I don't have to do the clicking?  What's the command line argument to do this? Or is there a place to find the explanation of RegEdit's switches?
85596
A Java6 application sits in the system tray. It needs to be activated using a hotkey (e.g. Super-G or Ctrl-Shift-L etc) and do something (e.g. showing an input box).  How do I do that on:   Windows (XP or Vista) OS/X Linux (Gnome or KDE)
34949
I just installed the lastest version of . I works fine but in order to use it, I have to enter the following in the terminal: cd ugene-1.11.5/ then execute ./ugene -ui to launch UGENE GUI.   This takes too long. I would like to build a .desktop file for UGENE to be used in Ubuntu 12.04 so that I can simply open it from the unity launcher.  Not sure if this is helpful but the website says: By default ugene script launches the command-line version of UGENE.  Here's what I have (not sure if it's right):  [Desktop Entry] Version=1.0 Name=my Unipro UGENE GenericName=Integrated Bioinformatics Suite Comment=Unipro UGENE is a cross-platform visual environment for DNA and protein sequence analysis. MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; Exec=/home/samuel/ugene-1.11.5 ./ugene -ui -c %F Icon=/usr/share/icons/hicolor/scalable/apps/ugene.svg Type=Application Terminal=true Categories=Utility;Development; StartupWMClass=UGENE   I added the launcher named my Unipro UGENE to my unity bar and tried opening it but it doesn't appear. I must be missing something. I don't know what the StartWMCClass field is suppose to be nor do I know whether I entered the correct MimeType.
76026
I wanted to run a .bat file in Windows task scheduler, so I opened it, added a new task, browsed to the bat file, and... nothing happened.   So I changed the timing to see if it'll run, and it didn't. Next I right-clicked on the task and chose "run", it didn't run. The file itself is only one line, basicly backups a folder to a another location. It runs fine when not in the scheduler.  When I asked on  they first said to come here and the other guy said to write:  cmd.exe /C completepathtobatchfile argstobatchfileifany   So I wrote:   cmd.exe /C k:\backup.bat    and it didn't work. What do I have to change to make it work?