Debian :: Make Java Default Application To Open JAR Files

Feb 4, 2016

i cannot seem to find a proper way to make Java my default application to open .jar files. I just made a new Debian 8.3 install on my laptop HP Pavilion G6 and the default application for opening .jar files is the Archive Manager. But when i go to "Open with.." section on right-clicking the .jar file, i get no JRE or JDK option to choose. I just installed the openjdk 7. I can manually run them from the bash, but it would be much more convenient if i just double-clicked it. Here is what i get when i run several commands in the bash :

1) which java ->Code: Select all /usr/lib/jvm/java-7-openjdk-amd64/bin/java
2) java -version -> Code: Select alljava version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-1~deb8u1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
3) echo $PATH: Code: Select all/usr/lib/jvm/java-7-openjdk-amd64/bin:/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin: /usr/local/ sbin:/usr/local/bin:/ usr/ sbin:/usr/bin:/ sbin:/bin
4) javac -version : Code: Select alljavac 1.7.0_95

View 4 Replies


ADVERTISEMENT

General :: Make A Default Application Open A Certain Extension File?

Nov 3, 2010

I know this is possible in GUI gnome. But is it possible to do it too in shell command? Let say if i type this in shell:

#file.txt

then it will open gnome-editor in nautilus which open file.txt. gnome is the desktop manager. nautilus is the explorer windows in gnome. gnome-editor is one like notepad in MS windows.

View 1 Replies View Related

General :: Changing The Default Application To Open Files - Ubuntu 11.04

Jun 30, 2011

I want to change the application that opens my mp3 files.

At present if I double click an mp3 it opens in the movie viewer for some reason. I know I can use "open with..." to get a file to open in Rythymbox instead, but I have over 800 mp3 files and want to change the default for all of them.

View 1 Replies View Related

Fedora :: Icons Of "default Application" / Get Predefined Application Icon To Open Same File Types?

Jan 7, 2011

I would like to get the predefined application icon to open the same file types.

for instance: *.avi, *.mp3 to have the VLC icon

and other application to have the icon of their default application.

So far I only found tips to install single icons or to add icon packs. :S

and is there any way to when you install an application make it default for such file types ?

View 1 Replies View Related

OpenSUSE :: Windows Application Needs Java Install But Wine Wont Open It

May 5, 2010

Im trying to install Yahoo site builder using wine... the problem is that this program needs java. I tried to install java using wine but it just wont run. Native linux java doesnt works...

Heres the terminal log:
----------------------------------------------------------
hilderith@cpe-001966e2bdb4:~> cd /home/hilderith/Download
hilderith@cpe-001966e2bdb4:~/Download> su
Password:

[Code]....

View 3 Replies View Related

Programming :: Make A Java Application In Netbeans 6.9.1 - V4L4J - Import The Libaries

Oct 27, 2010

I'm trying to make a java application in netbeans 6.9.1 (ubuntu 10.10) and I need to use the webcam on the system. Now I found this project: [URL] I am able to run the program and see the vid imput from the webcam using: "java -cp /usr/share/java/v4l4j.jar -Djava.library.path=/usr/lib/jni au.edu.jcu.v4l4j.examples.DeviceChooser" The problem is how to import the libaries into netbeans, there is an explanation on the site how to do it with eclipse but I don't have any experience with ecplipse and judging from what people have to say about how it works I don't want that either. I get the following error as output:

[Code]...

View 3 Replies View Related

Fedora :: Change The Default Open With Application Of A .mpg File?

Jul 25, 2011

I am trying to change the default open with application of a .mpg file but when I click on properties it shows me this.. how can I fix it.

View 5 Replies View Related

OpenSUSE :: Make An Application Default For Opening Documents

Sep 10, 2010

I want to use my Thunderbird as default newsreader for rss feeds. When I click on the icon of the website, it tells me that another application is the default. There is an option to browse for another application that I can set as default.But where do I have to browse to find the Thunderbird program. I have to same problem with pdf -files. I want to use acrobat reader as default.

View 1 Replies View Related

Ubuntu :: Why Does Open Office Not Have Base Application Installed By Default?

Jan 27, 2010

I am a complete newcomer to Ubuntu (or Linux in general for that matter) although I have many years' experience of Windows. It seems to me that the Base application of the open office suite of programs has not been installed by default. Why is this? And how do I install it in Ubuntu 9.1?

View 3 Replies View Related

Fedora :: Set Default Application For .rtf Files?

Aug 22, 2010

When I click on my .rtf files I get the run or display option, which I really don't understand the difference.

What I am hoping for is for all my .rtf files to default to open office.

View 6 Replies View Related

Programming :: Java - Too Many Files Open?

Feb 18, 2010

i am creating program that gets 'key' string and directory path and finds if key string is present in any file under given path, everything seemed OK but when i put path like "/" after 5 mins i get error : Too many opened files. I've minimalized opened File object at the same time as much as posible, tried to call System.gc(),tried to close every stream every opened file, google but i still cannot search in bigger directories.

Algorithm (mine one is much bigger so i tried to make it as small as possible:

read 'path';
read 'key'(set as public);
#&
call method get('path') {

[Code]....

why I always get that runtime error ? (I need it to search hundreds of GB so when my 40GB partition do this what will bigger one do )

View 7 Replies View Related

Software :: Dual Monitors - Make An Application Automatically Open On Second Monitor?

Jul 20, 2011

I am using Fedora 15 with dual monitors. I want to make an application open automatically on the second monitor. In particular I would like to make Firefox open on the second monitor. For now I am just manually moving Firefox to the second monitor, but if I close it down and open it again, it automatically opens on the first monitor. Is there a way to make it automatically open on the second monitor?

I have two Nvidia cards in my machine. I did have one monitor connected to each video card, but I was unable to get a dual monitor set up to work like this, so I plugged both monitors into one card and the dual monitor set up works fine like. Is there a way to make dual monitors work if you have a monitor connected to each video card? When I had a monitor connected to each video card, I could see the second monitor in the Nvidia settings, but it always disabled it. I could enable it, but it would grey out twin view. After I enabled it, I'll restart the X server, the second monitor would auto disable again.

I'm using Gnome, I don't have the above issue in Xfce4 - it works fine with one monitor connected to each card in Xfce4. However, I want to use Gnome. I've searched, but have not been able to find a solution to either of these issues. I read you can fix the application to launch in a second monitor with wmctrl. I've tried to install it with yum, but I get the message: No package wmctrl available.

View 2 Replies View Related

Fedora :: Java.net.SocketException: Too Many Open Files?

Apr 16, 2010

I am running a java socket application where it reads the data and write to text file and a database at the same time. After some time I get this error? I am totally lost I dont know where is my error?

Attached is my code.

Code:
import java.io.*;
import java.net.*;
import java.util.*;
import java.util.Date;
import java.text.*;

[Code]...

View 14 Replies View Related

Programming :: How To Open .doc / .ppt / .xls / .docx Files Using Java

Feb 14, 2010

does anyone know how to open .doc .ppt .xls .docx.... files using java ? i found just Apache POI but it can open just .xls files.

View 4 Replies View Related

General :: Setting Default Application For Text Files In Bash?

Apr 5, 2011

I want to tweak my linux environment so that when I type a text file name on the command line and hit enter the file should be opened in Vim.

$: /tmp/file.txt

should open the file in Vim. This is similar to what happens on windows (where a text file is opened in notepad.)

View 6 Replies View Related

Ubuntu :: Which Application Can Open Executable Files

Aug 11, 2011

I have downloaded Unetbootin for linux. When I double clicked on it, it says, no application to open executable files.What application can open executable files?

View 3 Replies View Related

General :: Make Ncftp Hold The Connection Open Longer Than The Default ?

Jan 18, 2011

Is there a way to make ncftp hold the connection open longer than the default? a ping every 10 sec or something? I feel like after I push a change up to the server before I can verify everything is working as expected and get back into ncftp the connection is closed by the remote host.

View 1 Replies View Related

Software :: Make Open Office Writer Default When Click On A Document?

Apr 17, 2010

am using slackware 13 and want to make Open Officeriter default when I click on a document. Currently when I click on doc it opens kwrite. Similarly when I click on an audio file it opens Gxine. I prefer MPlayer.

View 2 Replies View Related

Ubuntu :: Files Of Various Types Not Assigned To Open With Proper Application

Feb 8, 2010

I'm having some really odd problems with Nautilus. The main one is that most of the time, files of various types are not assigned to be opened with the proper app, and I cannot assign an app. I described this problem in another thread: If I right click a .pdf for example, and select "Open With," the first two suggestions (Leafpad and gedit) are wrong. If I choose instead "Open with another program," I get a dialog with two tabs. One is "Recommended Applications" and is blank. The other is "All Applications." If I click "All Applications," instead of getting a list of apps or having the opportunity to choose one from /usr/bin, the entire dialog disappears abruptly. I'd say that's a "crash."

[code]...

View 9 Replies View Related

Debian :: Nautilus Does Not Accept Changes To Default Application

May 21, 2010

I'm trying to get Nautilus to open avi files with VLC instead of Totem. This succeeded for two of the three computers I have Debian on, but not on my EeePC. I right click the file, click "Open with other application", select VLC, and check that the "always use this application" option is checked (it always is). Then I click OK and it opens the file with VLC. But it doesn't remember the change; if I try opening any avi file again, it'll go back to Totem.

View 3 Replies View Related

General :: Application Called Impact - Paths In Java Application ?

Apr 14, 2010

So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...

[url]

I untar the pack, and launch the application calling a script, from within the untarred folder,

Code:

This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.

Other mode of executuion consists of calling the setup file as argument to Impact.sh script ( CLI execution mode, for g33k5 )

My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,

Code:

Code:

I decided to hack the ImpactGUI_OGL_linux_amd64.sh script from

Code:

Code:

no avail,

Code:

even after adding /usr/local/Impact/bin to PATH... won't go...

I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...

View 4 Replies View Related

Debian :: Set Default Application For Specific File Extensions

Dec 17, 2015

How to properly set some entries in:

$HOME/.config/mimeapps.list

so that:
*.odb files are opened by default with libreoffice base
*.org files (just org files not plain text files) are opened by default with emacs

For some reason I can not figure out how to proceed.

As far as I know - i.e. for what I have been reading in the documentation - the default application for a given MIME-type is specified by writing into the group [Default Applications] in the mimeapps.list file

My configuration is the following:

- 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 GNU/Linux
- gnome desktop

View 3 Replies View Related

OpenSUSE :: Choosing The Default Program To Open Files?

Jul 30, 2011

I have an.exe file that I want to open in wine by default. I already did "open with" and chose wine file by accident. How to I make the default wine?

View 1 Replies View Related

Ubuntu :: Make Files Have A Different Default Owner:group?

Aug 16, 2011

I can't figure out how to make files have a different default owner:group.. Example:I need the users of my group called gpib, to create new files with: username:gpib, instead of the default: username:username

[Code]...

View 3 Replies View Related

Debian :: Writing Open Source Java Applications?

Feb 13, 2010

I always wanted to get into writing open source applications for debian. The only problem I ever saw was that I do not know C++ which seems to be the popular language to build applications. My expertise is Java and I think that java applications could run on debian just as good as C++ applications. What I do at work is write applications in java for unix systems so I think I porting my skills over to debian would not be a problem. I have not seen any applications in java on debian yet and thought people might have a problem with them. Is there any reason more java applications are not being written on debian? Also does anyone know of hand if there is any orphaned java application for debian. I had a look on this page but it is hard to know what language the application is written in. [URL]

View 5 Replies View Related

Debian :: How To Make Executable Firefox Appear As Application

Feb 15, 2016

I downloaded the tar file form mozilla's website, in which I must click the firefox executable in order for it to run

I'd like the firefox logo to appear in my apps, how do I do it? I already moved the firefox folder to /opt

View 2 Replies View Related

Debian Configuration :: Cannot Open Java Socket - Port (9955) Closed

Feb 26, 2010

I have a java application that I wrote recently. It runs off port 9955. The application runs great on my mac server. When I installed it on my linux box i cant get to it from outside the box. A port scan shows the port as closed. I flushed my iptables, did not help. I can telnet into the app locally, from the server and it works great. I cannot telnet from outside the server. I have a reference to the application in /etc/services as a tcp port (which it is).

netstat shows it as listening
netstat --listen
tcp6 0 0 [::]: SimpleSocketTest [::]:* LISTEN
netstat -anp | grep 9955
tcp6 0 0 ::: 9955 :::* LISTEN†1484/java

View 4 Replies View Related

Ubuntu :: Swiftfox Doesn't Have Default File Handling / Cannot Open Files From Download Menu

Mar 22, 2010

Swiftfox does not have default file handling, and thus I cannot open files from the download menu. When I go to choose the program I want to open the file with, it just takes me to my Home folder in Nautilus. I have no idea where to find the programs I need (Image Viewer, Open Office, and Movie Player are the main ones I need).

View 1 Replies View Related

Debian Multimedia :: How To Make Desktop Application Update Immediately

Jul 5, 2015

I created a bash script which when executed as a desktop application modifies its own application icon. This is done my altering the Icon= line in the application's .desktop file.

Here is a gif of the application in action: [URL] ..... As you can tell, there is an approximately two second delay before the icon changes. I was wondering if there was a way of making the icon change immediately.

For completeness sake here is the script I am using:

Code: Select all#!/bin/bash

LAUNCHER=/home/alessandro/.config/xfce4/panel/launcher-29/14360293821.desktop
PLAY_ICON=media-playback-start-symbolic
PAUSE_ICON=media-playback-pause-symbolic

if [ ! -z $(grep "Icon=$PLAY_ICON" $LAUNCHER) ]; then
   sed -i -e "s/Icon=$PLAY_ICON/Icon=$PAUSE_ICON/g" $LAUNCHER
elif [ ! -z $(grep "Icon=$PAUSE_ICON" $LAUNCHER) ]; then
   sed -i -e "s/Icon=$PAUSE_ICON/Icon=$PLAY_ICON/g" $LAUNCHER
fi

View 1 Replies View Related

Debian :: How To Make Windows-loader Default And Hide Grub If Possible

Mar 11, 2015

Background: I am dual booting Debian and Window 7. Wanted to make windows-loader default and hide grub if possible. Google search took me here: [URL].... (third answer, about editing grub)

Make Windows (ANY variant) the default Grub2 menu option.
Description: This sets Windows as the default boot option, and (with NO user action) the PC will auto-launch Windows on startup.

STEPS:
A. sudo update-grub #List your current menu items
B. Edit setup file
sudo gedit /etc/default/grub
GRUB_DEFAULT=‚ÄĚWindows 7 (loader) on /dev/sda1‚Ä≥ #Set the boot default to your Windows boot partition
[WARNING: Just setting 'GRUB_DEFAULT=n', will NOT work after kernel updates, etc.
Save the file and close.]
sudo update-grub

Question: I must have done something wrong, for update-grub (as root) now gives this: "/usr/sbin/grub-mkconfig: 6: /etc/default/grub: 2: not found"

What should I do now to make grub as it was in the beginning?

[By the way, it's been very difficult to get Debian related pages...]

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved