Ubuntu :: Starting With Java - Need Jdk-6?

Apr 29, 2011

I've been running Ubuntu (10.10 - 32 bit) for about 3 months. Being curious about the very basics of Java programming I've just installed Netbeans 6.9 through the Ubuntu software centre and done the "Hello World" exercise within Netbeans. The file is in my Home folder but I'm not clear how now to try and run it.

Some Googling has raised some contradictory recommendations about adding the Sun/Oracle repository and the installing JDK6 as well. I'm now getting out of my depth so if someone can share knowledge on where to go from here I would be grateful. Have just registered so I hope this post is expressed correctly.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Starting A Java App On Startup 9.10?

Apr 26, 2010

First of all I'm using Ubuntu 9.10.I have tried using System/Preferences/StartupApplicationsI added:java -Xint -cp /home/Edgar/dist/Edagr.jar:/home/Edgar/dist/Annotator.jar com.ionetrics.edgar.EdgarI don't know if I am calling this incorrectly or not. I know that I can call this from a terminal and it will run correctly.However it will not run at startup. I have added Teamviewer to startup and it runs properly.

View 1 Replies View Related

Fedora :: Java Applet Not Starting

Apr 10, 2011

Java applet don't start in Fedora 14, I have installed the latest jre, but no luck, any idea what else is needed ?

View 2 Replies View Related

General :: Ubuntu 9.10 - Java Error When Starting Scripts - No X11 DISPLAY Variable Was Set

Dec 25, 2009

my java version is this

java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)

And when i am trying to run my gameserver scripts i get this error.

root:~# /home/l2jserver/login # ./L2JConfig.sh Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.

at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:431)
at java.awt.Frame.<init>(Frame.java:403)

[code]....

This is not my desktop computer but my remote server.

View 1 Replies View Related

General :: Command To Check The Java Version: Java -versionand Got :bash :java: Command Not Found?

Jul 26, 2010

I'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 Related

Ubuntu :: Install Latest Java Version - Java SE 6 Update 24?

Feb 18, 2011

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.

View 9 Replies View Related

Ubuntu :: Install Java And Firefox Java Plugin On 10.10?

Jan 28, 2011

How to install java and firefox java plugin on Ubuntu 10.10?

View 2 Replies View Related

Debian :: Install The Java Plugin But The Java Test Pages Show Not Installed

Jun 13, 2011

I 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.

View 5 Replies View Related

Slackware :: Installing Java Error - When Trying To Run A Java App With The Firefox Plugin - Browser Crashe

May 29, 2011

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.

View 8 Replies View Related

Debian Installation :: Java Programm To Install And The Installer Is GUI Java Based?

Feb 18, 2011

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.

View 13 Replies View Related

General :: Enter The Command Java -version It Shows Java Is Not Found?

Jan 19, 2010

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?

View 3 Replies View Related

General :: Java JRE Installed So End-users Don't Have To Install It To Run Java Applications?

Jan 29, 2010

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 Related

CentOS 5 :: Java Not Working In Firefox After Java Upgrade

Apr 5, 2010

After 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 Related

OpenSUSE Install :: 11.4 Insists In Starting X - Stopped With Message On Tty1 "Starting YaST2"

Jul 18, 2011

I installed OS11.4 on my old laptop, Compaq Armada E500., 512MB RAM, ATI Rage Mobility. During installation I chose "minimal server" and added some development packages, lxde and a little more. I chose to start in runlevel 3 which is full networking without X. Still, when computer is booted it tries to start Xorg which doesn't work because of some problem w driver. The start-up seems to stop there, it never loads completely - seems most things in runlevel 3 are not started (see below) I can manually login on laptop and fix it - but never permanently, same thing again after reboot.

I have checked /etc/inittab & yast - both states default runlevel is 3. I have checked services to be started both directly, browsing directory /etc/rc.d/rc3.d/, and with YaST, it is very clear X should not load during boot. But, as said, it does.. I don't really care about the driver problem right now, I can fix that later when I have more time. So how do I stop X from getting started automatically?

More info, if needed: The installation also stopped with message on tty1 "Starting YaST2" and tty8 showing errors with graphics driver (mach64). The system seemed to be installed though, so I simply rebooted (issuing "reboot" from tty2).

[Code]....

I'm not completely sure where it stops, network is configured but keyboard is wrong and mysql & everything after is not started, so somewhere between S02network and S06kbd. I'm going to use it as a server for testing purposes so no X is actually needed - however I do want to have X & lxde installed just in case, my Internet connection at home is terribly slow so I need most things I might need in the future installed today.

View 1 Replies View Related

CentOS 5 :: How To Install JAVA JAVA BRIDGE PHP

May 1, 2010

I 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 Related

Ubuntu :: Which Java - OpenJDK Or Sun Java ?

Aug 26, 2010

If 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?

View 1 Replies View Related

Ubuntu :: Installing Java From Java.com ?

May 6, 2011

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?

View 1 Replies View Related

OpenSUSE :: FireFox 5.0 - With IcedTea - Plugin Error: "Failed To Run /usr/lib64/jvm/java-1.6.0-openjdk/jre/bin/java"

Jul 10, 2011

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 Related

OpenSUSE :: How To Set Java Sun Primary Instead Of Java Jdk

May 22, 2011

How can i set java sun primary instead of java jdk without uninstalling the jdk in suse 11.4?

View 8 Replies View Related

OpenSUSE :: Java App Error: "java.lang.NullPointerException"

Feb 23, 2011

i try to open a java app, the launch proceeds as far as the final stages, but then stops to do the final sequences showing the error msg listed above.

View 3 Replies View Related

Ubuntu :: Install Java 1.7 But Every Time Install Java It Gets 1.6?

Mar 4, 2011

I'm trying to install java 1.7 but every time i install java it gets 1.6.

Does anyone know how i can get 1.7

View 7 Replies View Related

Fedora :: Upgrade Of Java-1.6.0-openjdk-1.6.0.0-43.1.8.2.fc13.i686 And Java-1.6.0-openjdk-plugin-1.6.0.0-43.1.8.2.fc13.i686 Prevent The Loading Of Ameritrades Command?

Oct 21, 2010

Last nights upgrade of java-1.6.0-openjdk-1.6.0.0-43.1.8.2.fc13.i686 and java-1.6.0-openjdk-plugin-1.6.0.0-43.1.8.2.fc13.i686 prevent the loading of Ameritrades Command Center.Downgrading to version 1.6.0.0-37 fixes the problem. I'll post the bugzilla number as soon as I get the chance to file it.

View 3 Replies View Related

Ubuntu Multimedia :: VLC Is Not Starting?

May 7, 2010

VLC is not starting in my debian lenny. I tried to uninstall vlc, then installed again. But nothing happened. Error appeared again. What i need to do?

View 3 Replies View Related

Ubuntu :: Klipper Not Starting?

Jul 20, 2010

I seem to have a problem with klipper on Kubuntu Lucid (amd64). used to start automatically on startup, but that stopped working. I then put it in autostart, but it still does not want to start automatically. However when I start it manually it works fine

View 3 Replies View Related

Ubuntu :: Brasero Is Not Starting?

Sep 9, 2010

I have a freshly installed 10.04 ubuntu, but brasero is not starting, what could be the reason? I started it with the option to show errors, but it didn't show any, it just didn't start.

View 3 Replies View Related

Ubuntu :: SPSS 16 Not Starting On 10.04?

Oct 1, 2010

I am trying to install spss 16 on an hp. I have activated the license and everything but when I run ./spss on the spss bin directory (this is the executable the install instrucyions tell me I should use) I get the following error after a little intro screen:

Code:
testu@Schwarzschild:~/SPSSIncb/SPSS16/bin$ sh ./spss
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x20656770, pid=2334, tid=2338302832
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
# Problematic frame:

[Code]...

Aborted As you can see, I created an user to test the install (also this user has compiz completely disabled) and installed spss on his home directory.

View 5 Replies View Related

Ubuntu :: X And GDM Not Starting Automatically?

Dec 12, 2010

played around with Plymouth Manager yesterday, and today, my system would not start. I got some help from #ubuntu, and to my surprise, startx ran without problems. sudo service gdm start also worked perfectly. However, when I boot up my computer, I am always taken to the recovery screen. How can I stop this from happening, get my boot screen back, and make everything work as it should?I'm on Ubuntu 10.10 32-bit with an nVidia GeForce 8800 GT and version current on the nVidia restricted drivers.

View 9 Replies View Related

Ubuntu :: Starting In The Shell?

Jan 1, 2011

How can I start up my Ubuntu Linux in the shell? Then how could I make sure to also get back to gnome?

View 1 Replies View Related

Ubuntu :: Xserver On 10.10 Is Not Starting?

Oct 11, 2010

I had a Ubuntu 10.04 upon which I had nvidia Proprietary Drivers,Now After upgrading the distribution to ubuntu 10.10, instead of getting to the login screen i get on the tty1 Terminal. upon logging in from tty1 and running xstart it says "Fatal error X server failed to start" how do I fix this?

View 1 Replies View Related

Ubuntu :: No Sound After Starting Skype?

Jan 3, 2010

Whenever I start up Skype, the entire sound goes on my PC. Even when I shut Skype down, I still don't have it. The only way I get it back is to reboot the computer. Is there a setting I need to change?

View 2 Replies View Related







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