Posts: 212
	Threads: 55
	Joined: May 2014
	
Reputation: 
0
	 
	
	
		Hi 
    Has anyone tried to to get a .jar file to run in Java .    
    OpenJDK 7 Runtime Environment is already loaded in Lite 2. 
When I right click on the jar.jar file from a storage clipboard program called "KeepBoard" I get the option to open with "openJkd java 7 runtime" 
When I click on it nothing appears to happen .
 It also has a "start.sh" file which does not work for me 
I have downloaded it to win 7 and it runs OK from the "start.sh" file 
	
	
	
I Learn something new Every Day !
An "example" is worth a 1000 words
	
	
 
 
	
	
	
		
	Posts: 9,005
	Threads: 567
	Joined: Feb 2014
	
Reputation: 
12
	 
	
	
		Try right clicking on the file/s and selecting 'Make executable'
	
	
	
	
	
 
 
	
	
	
		
	Posts: 1,149
	Threads: 22
	Joined: Feb 2014
	
Reputation: 
0
	 
	
	
		Hello!
I was able to run JDiskReport after I installed Java through the 'Install Additional Software' menu.  JDiskReport generates a nice pie chart to show you how your hard disk is being utilized.
If anyone wants to install it and has a problem, I'll put together a tutorial...
73 DE N4RPS
Rob
	
	
	
![[Image: EtYqOrS.png%5D]](http://imgur.com/EtYqOrS.png%5D) 
A gun in your hand is worth more than a whole police force on the phone.
 
	
	
 
 
	
	
	
		
	Posts: 212
	Threads: 55
	Joined: May 2014
	
Reputation: 
0
	 
	
	
		Thanks for the replies 
I have tried  JDiskReport as suggested and that works fine - It default is set to open using Java and runs OK.
The "start sh" file in Keepboard has the following script
_____________________________________________-
#!/bin/sh
DIR="$( cd "$( dirname "$0" )" && pwd )"
cd $DIR
java -jar jar.jar
______________________________________________-
Keepboard does appear to do something as it creates a "Pref" folder in the program folder there is a Pref file as shown below.
________________________________________________
<list>
  <item>
    <autosaveImages>false</autosaveImages>
    <autopasteKeyModifiers>2</autopasteKeyModifiers>
    <autopasteKeyCode>86</autopasteKeyCode>
    <autostart>false</autostart>
    <lookAndFeel>NIMBUS</lookAndFeel>
    <mainFrameWidth>430</mainFrameWidth>
    <mainFrameHeight>510</mainFrameHeight>
    <paused>false</paused>
    <itemPreviewHidden>false</itemPreviewHidden>
    <pasteMode>PASTE</pasteMode>
    <selectionMode>MOVE_TO_TOP</selectionMode>
    <showNameSearchColumn>false</showNameSearchColumn>
    <showGroupSearchColumn>false</showGroupSearchColumn>
    <tabsHidden>false</tabsHidden>
    <buttonsHidden>false</buttonsHidden>
    <groupComboBoxHidden>false</groupComboBoxHidden>
    <toolbarHidden>false</toolbarHidden>
    <trayIconHidden>false</trayIconHidden>
    <allGroupsManuallyDeleted>false</allGroupsManuallyDeleted>
    <dividerLocation>287</dividerLocation>
    <previewAreaPosition>BOTTOM</previewAreaPosition>
    <clipboardHistoryPreviewDialogLineWrap>false</clipboardHistoryPreviewDialogLineWrap>
    <namedItemsPreviewDialogLineWrap>false</namedItemsPreviewDialogLineWrap>
    <previewAreaLineWrap>false</previewAreaLineWrap>
    <clipboardHistoryPreviewDialogWidth>600</clipboardHistoryPreviewDialogWidth>
    <clipboardHistoryPreviewDialogHeight>400</clipboardHistoryPreviewDialogHeight>
    <namedItemsPreviewDialogWidth>600</namedItemsPreviewDialogWidth>
    <namedItemsPreviewDialogHeight>400</namedItemsPreviewDialogHeight>
    <maxHistorySize>2000</maxHistorySize>
    <autopaste>false</autopaste>
  </item>
</list>
__________________________________________________________________
Colin 
	
	
	
I Learn something new Every Day !
An "example" is worth a 1000 words
	
	
 
 
	
	
	
		
	Posts: 212
	Threads: 55
	Joined: May 2014
	
Reputation: 
0
	 
	
	
		Hello 
Forgot to say i tried making it executable or run as administrator 
I just get the "Pref" folder generated but no error messages . In Windows a gui window appears
If anyone would like  to try it out, this is the download link
http://sourceforge.net/projects/keepboar...p/download
Colin 
	
I Learn something new Every Day !
An "example" is worth a 1000 words
	
	
 
 
	
	
	
		
	Posts: 212
	Threads: 55
	Joined: May 2014
	
Reputation: 
0
	 
	
	
		Thanks for trying it for me  . why does it work for you but not me !
In spite of the problems I have had I find Linux Lite worked well out of the box . I hope more people find it and use it . Keep up the good work 
The more I find out about computers the less I know ? 
If only all PC's behaved exactly the same it would make the work of developers much easier . The downside  would be there was less to interest them .
Colin 
	
	
	
I Learn something new Every Day !
An "example" is worth a 1000 words
	
	
 
 
	
	
	
		
	Posts: 212
	Threads: 55
	Joined: May 2014
	
Reputation: 
0
	 
	
	
		Hello 
Tried Clipman as  you suggested - It works OK but is not quite what I wanted . I used Classic Clipboard in XP in which I could store clips that I used frequently like my email address etc . I tried using it via Wine but it locks up . I was looking for something similar
I am using the following -- is this the same as you ran Keepboard successfully with .
colin@colin-NC110:~$ java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
OpenJDK Server VM (build 24.51-b03, mixed mode)
Colin 
	
	
	
I Learn something new Every Day !
An "example" is worth a 1000 words
	
	
 
 
	
	
	
		
	Posts: 212
	Threads: 55
	Joined: May 2014
	
Reputation: 
0
	 
	
	
		Re  Keepboard not running in Java Runtime Environment 
I managed to get it to work by re-installing Java in Lite 2 Beta 
I did  new  Install of   Lite 2 Final and Keepboard stopped working again 
I uninstalled Java and tried to re-install it with Synaptic and had problems with Broken Links etc
Also when I right clicked the JAR.JAR file it showed the default  was JRE and available  even though there was no Java showing correctly with  the terminal command -  java -version 
I Closed Linux and opened it again 
I used Synaptic to Install "Default Java JRK "which included  a full list of dependencies  after which when I opened Keepboard it appeared on the "Panel" and works OK 
Colin 
	
	
	
I Learn something new Every Day !
An "example" is worth a 1000 words