Ubuntu :: Can'not Execute Java Apps?
May 3, 2011i am using ubuntu 9.10 and i want to execute JAP ,the java -version on my system replies this:
Code:
khosro@khosro-laptop:~$ java -version
java version "1.5.0"
[code]....
i am using ubuntu 9.10 and i want to execute JAP ,the java -version on my system replies this:
Code:
khosro@khosro-laptop:~$ java -version
java version "1.5.0"
[code]....
I installed jdk1.6.0_18 version. Please see below for the version.
[Code].....
I would like that my java program continues executing when I close the ssh connection, how can I do that? I suppose I have to create a service, but I have no idea how to do it!
View 3 Replies View RelatedI just installed a game, TripleA, that is supposed to run great on Ubuntu using JAVA. I extracted the game to the recommended folder.I have JRE already installed via Install and Remove Applications utility. Is there something else I should do? Installing JRE manually seemed a bit troublesome.Is it "safe", i.e. will the other apps that use java still work properly?
View 1 Replies View RelatedAs xnee official packages did not work for me, I downloaded, compiled and installed the latest xnee version (3.06). It work almost well, but if I try to automate the execution of a Java web application, xnee lost the synchronization and give me this error:
Code:
Can't synchronize anymore .... have to leave! 11 10
Error number: 5
[code]...
I want to use GCC to compile my java programs... I dont want to use OpenJDK. using OpenJDK to compile java... I WANT GCC
When I run this command:
Code:
[AliasM2K@localhost Documents]$ gcc HelloWorld.java
I get:
Code:
no classpath specified
So... How to specify a classpath?
How to compile and execute Java programs
View 1 Replies View RelatedMy computer freezes and I am trying to diagnose the issue. When.. Using Devede to convert avi to dvd. (almost always) Using Firefox on pages using macromedia flash or java apps. With multiple windows open using terminal. I am strongly leaning towards this being a HARDWARE issue.
View 5 Replies View RelatedAll Java apps online have random, garbled sound.
i do have the real Java, not icedtea.code...
I've Intellij Idea and Netbeans installed on my Ubuntu desktop. Both worked fine while I was on 10.10.After upgrading to 11.04 both of them became irresponsive to Ctrl+C/Ctrl+V/Ctrl+{Any alphabet letter} combinations. However these combinations work in non-Java apps (e.g. gedit).Besides that Ctrl+Alt+L (Lock screen) is not handled by the system, no matter what application is active.Disabling unity does not help. Starting in ubuntu classic w/o effects does not help either.
View 2 Replies View RelatedI'm using Arch Linux with kernel 3.0 and brcmsmac to manage my wireless card. My desktop environment is KDE 4.7 and I use networkmanager to handle network. Recently I've been affected by a weird problem wherein whenever I'm connected to a network Java apps such as jEdit take ~30 seconds longer to start but behave normal once started. What could it be due to and how can I fix it?EDIT:The problem occurs both with Oracle's JRE and OpenJDK, both versions 1.7. I'm behind a HTTP proxy, if that makes a difference.EDIT:I've discovered the cause of this problem. My /etc/hosts file had the wrong host name in it. After correcting this to my hostnameeverything is fine.
View 1 Replies View RelatedI am new in Linux ,i don't know how to make a boot able Linux with a auto run able Java apps...
View 1 Replies View RelatedYes im refering to Windows Degrade and how over time windows just running will degrade and start causing errors. DLLs go missing and bizzare things. Ive seen wierd things happen on a windows machine that is dedicated to one function. Well to my point, recently I have been having many linux issues, not like normal or anything throughout the years I have experimented with linux though.
1)entering fullscreen on VMware crashes linux sometimes (no Ctrl+Alt or Ctrl+Alt+F2 ect)
2)using a different monitor haults the virtual machine while other monitors do not (I have 4)
3)Java apps freeze and require moving the window offscreen (below the screen) to redraw
4)general linux freezing
5)glitch with xinerama that repeatedly teleports mouse between two monitors causing the system to be unusable (no Ctrl+Alt+F2 or anything either)
At first I thought they were all related to VMware but they may not be. I run VMware everyday for my slingbox and light EXE-ing when wine isnt an option. So I may not be asking for fixes to all these problems but whats going on? Ive seen linux installs last years and believed linux to not degrade.
Some minimized apps no longer appear in the top menu and by that are no longer accessible.For example firefox with the minimize addon or Jungel Disk backup service.How can I reach apps that minimized them self and are not shown in the top menu?
View 2 Replies View RelatedI've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found
View 4 Replies View Relatedi created a /tmp partition amd mounted it like this:" mount -o loop,noexec,nosuid,rw /usr/tmpDSK /tmp"
I know i can't execute things in /tmp now but is there a way to execute only one file and no more???
If you are interested, Java SE 6 Update 24 is available. The Check Java Version link in my signature will tell you if you are up to date or not. The Update Java Version link in my signature will tell you how to obtain and install the latest version. The 32 bit version install directions are on the left side of that page and the 64 bit instructions are on the right side.
Just remember to remove the current version before installing the new one as it says in the instructions. The remove instructions are below the install instructions. Also, in Step 9 - "Now you'll want to tell the system, that there's a new Java version available." See the note below it that says if you get an error upon entering the command once, enter it a second time. I have to do that and sometimes forget. Just thought I would mention that. These instructions are already setup for version 6 update 24, but they can be modified for any update and they will work. I have been using these instructions for a couple of years and they work.
How to install java and firefox java plugin on Ubuntu 10.10?
View 2 Replies View RelatedI try to install the java plugin but the java test pages show not installed. I have tried the openjdk-6-jdk package and the Oracle/Sun 1.6.0_26 version to no avail.
Is there some good instructions page someplace? I have yet to find a set of instructions that provides something clear that works.
Code: ~ $ /usr/java/jre1.6.0_25/bin/java -showversion Error occurred during initialization of VMjava/lang/NoClassDefFoundError: java/lang/Object
That's the error I get. When trying to run a java app with the firefox plugin, the browser simply crashes if it's the 64bit java or tells me it's not installed if it's the 32bit version.
I'm at a loss as to what to do. I think it has something to do with leftover gunk from a previous version I misinstalled(Is that even a word?) Anyway, the only thing that google could come up with was a solution for windows which laid blame on Bill Gates for having a bunch of pf (java prefetch) files stuffed into c:windows for no apparent reason. The solution was to delete them, but I can't seem to find the java prefetch folder in linux. The method I used is downloading the rpm from java.com the rpm2tgz then installpkg then cp libnpjp2.so to firefox plugins folder.
This is my first post and I'm pretty new on Debian. I had used Ubunu for a while now and I've decided to move on Debian Squeeze.But I've one problem: I've a Java programm to install and the installer is GUI Java based. When I run the script, I've the next message:
Preparing to install. Extracting the JRE from the installer archive.Unpacking the JRE.Extracting the installation resources from the installer archive.Configuring the installer for this system's environment.Launching installer Graphical installers are not supported by the VM. The console mode will be used instead. Preparing CONSOLE Mode Installation. But this program is not able to run the installation in console mode.
I've tried to install sun-java6-jre but without success.Has anyone an idea to help me install this programm? My Configuration: Debian Squeeze 6.0 amd64.
Java is installed in linux machine and when I enter the command java -version it shows java is not found.At the same time when i run from the folder where its installed with ./java -version it works.
first of all why its not working from any other place? also why do I need to give ./ from the folder?
Do Windows XP, Vista, Windows 7 and all Linux distributions have Java JRE installed so end-users don't have to install it to run Java applications?
View 4 Replies View RelatedAfter upgrading java (jre) to 1.6.0_19, the java plugin no longer loads into Firefox. All the rest of my plugins from /usr/lib/mozilla/plugins/ load fine.Java can be a pain such a pain the neck!
View 8 Replies View RelatedIs there a way to execute some command and then after the command completes utomatically reboot the system and then after the system reboots execute another command ? For example look at the sequence shown below(1) Execute command-1(2) After the command-1 in (1) is completed,reboot the system (3) Execute command-2(4) After execution of command-2 reboot the sytemIs there a way i can automate this process so that i need not reboot the system manually
View 5 Replies View RelatedI have installed CENTOS / PHP 5.1.6 / JAVA 1.5.0_20. Now i want to install JAVABRIDGE for PHP and JAVA title should list in the PHP_info page.
View 1 Replies View RelatedIf I want to install Java on Ubuntu: which Java version should I take?
OpenJDK or Sun Java ?
What is mostly used on Ubuntu?
What are the pros and cons?
I would like to install JRE-6u25 on ubuntu.
When I go on the website I see only RPM and another download called:
linux self extracting. The file name for this one is: JRE-6u25-linux-i586.bin
It says to restart the browser after install.
I want to install java to play minecraft. I'm having some speed issues using openJDK.
Would the self extracting file work for minecraft standalone? (I tried playing in a browser without success).
Is using the self extracting file the same as using say the RPM?
I use openSUSE 11.4 64 bits, KDE and FireFox 5.0. I regularly update. When trying to reach my bank, I get the following error: Code: icedteanp plugin error: Failed to run /usr/lib64/jvm/java-1.6.0-openjdk/jre/bin/java. For more detail rerun "firefox -g" in a terminal window. Is there anything I can do to remediate ? Does IcedTea everything that Java does?
View 4 Replies View RelatedHow can i set java sun primary instead of java jdk without uninstalling the jdk in suse 11.4?
View 8 Replies View Related