0
votes
0answers
10 views

Specifying path to java interpreter while installing Java Wireless Toolkit

I have already installed JDK. I could run java programs through command line as well as through Netbeans IDE. Now I want to install java wireless toolkit. I have downloaded the "*.bin" file from ...
1
vote
2answers
45 views

How to run .sh through terminal without using Nautilus Ubuntu 14.04 [duplicate]

I have an .sh file that looks like #!bin/bash exec /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/ java java -jar /home/me/myfolder/my.jar I've made this file executable and it works fine when in the ...
0
votes
1answer
38 views

how to concatenate two strings in shell script in 3.13.0-34-generic kernel

I want to concatenate two strings for the shell file im getting error when i have created the shell file in following manner could you please suggest how to get it set export ...
0
votes
0answers
21 views

WUBI admin permission in graphic environment and installing question

While I can more or less create directories and such in folders like usr and bin ("root directories" right) through terminal comfortably (I say more or less because I set the password through wubi and ...
0
votes
1answer
41 views

Maven only invokable from terminal while root

I'm following the directions laid out here: http://java.dzone.com/articles/installing-maven-304-ubuntu Everything is in the right place and the sym link is working correctly. However whenever I try ...
0
votes
2answers
40 views

Running a .sh from a .desktop [Making an icon for Minecraft.]

Rather recently, I've decided to add minecraft to my dock. I play it enough to want it on my dock. I created a .desktop file, and I gave it an icon, name, and such. I figured that point the exec at ...
0
votes
0answers
113 views

After exporting $PATH, commands don't work anymore

Trying installing Java, I tried to add it to the executable path with the line: export PATH=/usr/lib/jvm/jdk1.7.0_60/bin:$PATH in the system-wide /etc/bash.bashrc file. For some reason this ...
1
vote
1answer
192 views

.pigbootup not found

I have a problem trying to get this command to run. I've got all the files in the correct directories, and i'm running the command from within the correct directory. I've downloaded and unpacked ...
0
votes
2answers
38 views

Command for checking the default terminal

My Situation Is: I am trying to make a simple IDE for NASM in Java. When I execute a .asm file in my IDE it open the terminal and shows the output. I am using xterm for this purpose. Now the problem ...
0
votes
1answer
98 views

Netbeans installation doesn't work

While trying to install Netbeans 8.0 in my Ubuntu 14.04 I get the following error: Can`t initialize UI Running in headless mode Exception: java.awt.HeadlessException thrown from the ...
0
votes
0answers
81 views

How do I put my executable file on desktop [duplicate]

I downloaded a Linux version of Keepersecurity app and followed the setup instructions INSTALLATION INSTRUCTIONS: Create a folder to put the app $ mkdir KeeperDesktop Extract ...
1
vote
1answer
65 views

Problem Opening Programs and Where is what I intall?

I download Java to run Minecraft and also other programs that need installation. When I open it, instead of opening it with an installation or something it opens the folders inside of the program with ...
0
votes
0answers
23 views

Trigger a command in ubuntu/linux whenever a new file is created in a directory

How could I trigger a command in ubuntu/linux, whenever a new file is created in a directory by a Java webapp ? Usage/Context: I need to move a newly created file (created by java app), in a ...
0
votes
1answer
137 views

Simple bash script does not want to start at reboot

I've build a Play Framework Application (cool Java/Scala Web Framework) and would like to start it automatically like Apache2 or MySQL Server. For this I wrote a simple Bash script and did chmod +x on ...
2
votes
0answers
146 views

Install java on a wine in a linux terminal server

I have a Windows terminal process (which requires Java). I need to run this in a Linux terminal server (it's an Amazon EC2 instance). I installed Wine, but now I need to install Java. When I try to ...
0
votes
1answer
2k views

How to uninstall JDK

Today I installed Android Studio but when I opened it raised the error: 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. I ...
0
votes
1answer
34 views

Launching rmid problem on Ubuntu 12.04

I have java version "1.6.0_21" Java(TM) SE Runtime Environment (build 1.6.0_21-b07) Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode) installed. When I type rmid in the command line, I get ...
1
vote
3answers
74 views

How to determine command location?

I need to use keytool and I want to use possible newest version. I have on my Ubuntu oracle jdk, and OpenJDK. ~$ java -version java version "1.7.0_25" Java(TM) SE Runtime Environment (build ...
0
votes
1answer
91 views

Java -jar using Oracle lib

I have installed java-7-openjdk and it works well, but I need to use JavaFX in a project so I download "Java SE" (all packages) form Oracle and I store them inside/usr/lib/jvm/jdk1.7.0_45. Now I want ...
3
votes
1answer
899 views

Why can't I play mp3 files in java

I am making a study guide in java to help me learn Japanese, but I have been having a hard time getting it to speak Japanese to me. Espeak did not work, so I used this code to get a .mp3 file and ...
0
votes
1answer
54 views

Why can't I install this package?

when i type in java or javac it tells me the program 'java' can be found in the following packages: I'll put in a screen shot, but when I type the command sudo apt-install <selected ...
2
votes
1answer
2k views

Install Java on Ubuntu server (Parallels Plesk)

I want to install Java to my server so I can use PHP shell_exec to compile Java online. So I'm trying to install Java on my webserver (Ubuntu - Parallels Plesk). I logged in to the server with PuTTY ...
1
vote
1answer
764 views

problem on java: not found

Initializing InstallScape using JVM at /home/manoj/iscap/iscape/runtime/LNX86/bin/java. This might take some time... /home/manoj/iscap/iscape/bin/iscape.sh: 209: exec: ...
2
votes
1answer
2k views

Run different java based on command line parameter

I have multiple java installations on my machine and need to use different versions all the time. I have found that the currently used JVM can be changed by the commands update-alternatives and ...
1
vote
1answer
174 views

Japanese voice for espeak

What do I need to download to have espeak speak in Japanese? If I can't do it in espeak, is there a similar program I can run? Anything compatible with java or will run in the terminal will be ...
-1
votes
2answers
249 views

How would I execute a .jar using terminal, permissions only does Read and write, yet not execute

The file I am trying to execute is TechnicLauncher(1).jar I have tried looking in the permissions (as mentioned before) but it does not show where it can be executed. I have also tried looking in ...
2
votes
2answers
165 views

search command for packages in Ubuntu terminal to search updates and patches of the package specifically

Can I know what is the command to search any package using the terminal, if I only know the name of the Software like, if I want to search VLC or JDK,JRE.. etc If I do not know what is the url where ...
0
votes
3answers
356 views

Cant install Java on Wand Board Quad running Ubuntu 12.04

I picked up the Wand Board and was curios to see on how well it can perform as a Minecraft Server. So i downloaded the JDK 8 from the official site for ARM and extracted it to my OPT folder, after ...
1
vote
2answers
162 views

Ubuntu Failes to Recognize Java

I've been having an issue with Java since I installed Ubuntu and it has been the main reason I have stopped playing certain Java-based games such as Minecraft. You see, although I've downloaded ...
0
votes
1answer
364 views

Ubuntu Java Issue

SORRY for the really long question ( I didn't want to miss any info you guys might need) BUT PLEASE HELP! Hi, I've recently purchased a linux VPS (runs ubuntu 64 bit) I've been trying to get java to ...
0
votes
1answer
754 views

Cannot set CLASSPATH

I'm using the command "java -cp /home/ubuntu/myapp" to set the command to the directory where mu app's classes are located. However I seem to be having no luck. The terminal simply answers by giving ...
1
vote
1answer
145 views

How to check JAR application's return number?

I have written an application in Java. Then, I packed it into a JAR file and now I run it from command line using "java -jar myapp.jar". Because it connects to the web, sometimes it throws the ...
1
vote
2answers
310 views

Command for opening application using java through terminal?

I downloaded Tomighty(pomodoro app) on my Ubuntu 12.04. Everytime i have to start tomighty, i have to right click on the tomighty's jar file and click on open with sun java 7. is there any command ...
1
vote
3answers
130 views

How to search a file in multiple jars

Want to search a file inside a set of jar files. How this can be done in ubuntu termianl?
1
vote
1answer
292 views

Problem at opening NASA World Wind. I get a terminal error (java problem)

The program is zipped and these are the instruccions in README file: 2) cd to the World Wind release folder. 3) chmod +x run-demo.bash 4) ./run-demo.bash ...
1
vote
2answers
2k views

Cannot compile java code [Unicode Byte Order Mark 65279]

I wrote a simple Java program with the gedit text editor. public class Example{ public static void main (String args []) { System.out.println("hi yaar"); } } When I tried to ...
1
vote
3answers
4k views

How do I run a .JAR file via the terminal

Mispelled classname in manifest.txt file caused this error Im trying to run a java file outside of my IDE by exporting the .jar file to my documents folder and trying to display the text 'hello ...
1
vote
1answer
261 views

Java compiler cannot be found

I installed j2ee with j2sdk on my Ubuntu 12.04 computer. It is installed at /mallika/glassfish3/jdk7/. I am able to run any of my Java programs in Netbeans using this JDK. Since Netbeans 7 does not ...
1
vote
1answer
2k views

Having trouble running android sdk tool on 12.10

When I try to run the Android SDK Manager from the command line it doesn't open. Keeps giving me command not found or permission denied message like so. ...
1
vote
2answers
826 views

How to read OpenJDK 7 documentation (or other -doc) packages?

I have installed openjdk-7-doc but I cannot find where to read the documentations of the APIs? E.g.: How to find/read "String class" API documentation I prefer GUI-based over command-line but I also ...
9
votes
2answers
13k views

“No such file or directory” when invoking java

I'm trying to re-install Oracle JDK 7 32 bit to 64 bit Ubuntu (previously 64 bit JDK was installed). JDK is currently present at /usr/lib/jvm/jdk1.7.0. I invoke sudo update-alternatives --remove ...
2
votes
1answer
571 views

Java console doesn't recognize arrow keys

I have some strange problems with a java console on my 10.04 server (it's actually the console of a minecraft-server, but I believe it's a general problem and not something minecraft specific): arrow ...
-1
votes
2answers
246 views

link java bytecode (class files) with java-command [closed]

Is it possible to directly bind all *.class files with the java command? At the moment I run java-files like: java myprog args Is it possible to simple type myporg args ok, this is not a very ...
0
votes
1answer
761 views

aptitude install apach derby ij

I see a similar question here: Question How do I connect to toursdb of Derby database using ij in Ubuntu How do I connect to toursdb of Derby database using ij in Ubuntu I have Ubuntu , I have ...
1
vote
2answers
439 views

Dpkg error when trying to uninstall java

I have been trying to uninstall jre6 but I keep getting the error dpkg: warning: there's no installed package matching sun-java6-jre:amd64 I've tried sudo apt-get --purge remove sun-java6\* vim and ...
5
votes
5answers
8k views

How do I bypass the license page to download Oracle/Sun Java on a server with wget?

I'm trying to install Liferay on Ubuntu Server 12.04, which requires JRE and recommends version 6. I can't find JRE6 in an authoritative repository, and I can't work out how to get past the licence ...
0
votes
1answer
210 views

Running the bare minimal processes in Ubuntu

I was wondering if there was a why to add to my shell script ,for running Minecraft, that will shutdown everything that isn't needed to keep the system running. Only the Minecraft process and for it ...
1
vote
1answer
139 views

compile a java program as different user

I am able to login as a different user using a shell script in Ubuntu, but I want to run a Java program in that user, but it halts there... for example: login as a guest user with limited ...
1
vote
2answers
2k views

Set up Java path for terminal

Trying to set up a path for the terminal. I already have Eclipse running great. Dual os between windows 7 and Ubuntu 12.04. However, I would prefer to run everything out of Ubuntu, just not very ...
0
votes
2answers
10k views

Used purge command to remove java, it removed a lot more than java

I used this purge command sudo apt-get purge openjdk7*, however this uninstalled a lot of the software and my me menu has vanished. Every time I install something there is a huge list of packages the ...