Ubuntu Installation :: How To Install Javac In 10.04

Jun 11, 2010

how can I install javac. I'm new with linux so please be specific in what to do. I found one post saying something about adding extra repositories but I don't know what repositories, where to add them, how to add them..

View 9 Replies


ADVERTISEMENT

Ubuntu Installation :: No PATH Variable Set But Still Javac Working Fine

Jun 11, 2010

I thought that setting up the PATH variable was a must if we wanted to use java or javac commands on linux (preferably in the bashrc file), but I am able to use these commands anywhere without setting up the PATH variable.. Similarly, without specifying . in the CLASSPATH variable (in fact, not specifying the CLASSPATH variable at all), I am able to access class files in the same directory. How is it possible ?

View 1 Replies View Related

Ubuntu :: Sh: Javac: File Not Found

Jun 11, 2010

sh:javac: file not found .I want to try to run java on linux but am having problems. I downloaded the Scite text editor and the java jdk (self installer) from java.com. Created the simple helloworld program in the text editor and used ctrl + f7 to try to comiple it but just get the message sh: javac: file not found. After numerous attempts decided to try to uninstall java and start from scratch again. So I downloaded the jdk self installer again and typed in (sudo apt-get install sun-java6-plugin) but now get this:

dbd@dbd-laptop:~$ sudo apt-get install sun-java6-plugin
[sudo] password for dbd:
Reading package lists... Done

[code]....

Am I using the right test editor? Are there any tutorials I can follow for using java on linux?

View 4 Replies View Related

Red Hat / Fedora :: Difference Between Redhat And Ubuntu Javac Compiler?

Jul 13, 2010

Please tell me the difference between Redhat linux javac compiler and the ubuntu javac compiler.

View 1 Replies View Related

Slackware :: Cannot Start Netbans - No Javac

Feb 26, 2011

I installed Netbeans 6.9.1 with JDK bundle, I have installed jdk in /usr/local/jdk1.6.0_2 but when I try to start Netbeans I get error

Quote:

which: no javac in (/usr/local/jdk1.6.0_2/bin:/usr/local/jdk1.6.0_2:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)
which: no java in (/usr/local/jdk1.6.0_2/bin:/usr/local/jdk1.6.0_2:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)
Cannot find java. Please use the --jdkhome switch.

I have javac in /usr/local/jdk1.6.0_2/bin, I looked. I installed last time and it have worked fine. What is wrong now ?

View 3 Replies View Related

Ubuntu :: Java Set Path - Javac Command Doesn't Work

Mar 27, 2010

I have installed jdk1.6_0_0 to kubuntu 8.10. But javac command doesn't work yet.

How do I set path?

Here are the outputs i got from typign some commands

View 6 Replies View Related

Slackware :: Got A Compile Error Which Says That 'javac' Is Missing

May 7, 2011

do this slackbuild require the JDK package?

I've got a compile error which says that 'javac' is missing.. this file seems to be only in the JDK package (and not in the JRE).

Do it's correct? No problem to install the JDK ..

View 4 Replies View Related

General :: Cannot Compile Java Program In SUSE 11.1 Using Javac

Jun 17, 2010

i just grabed a book and wrote a program and tried to compile it using 'javac' and everytime i'm getting this error:

javac Example.java
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o: In function `_start':
/usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'

[Code]....

View 3 Replies View Related

Software :: No PATH Variable Set But Still Javac Working Fine

Jun 11, 2010

I thought that setting up the PATH variable was a must if we wanted to use java or javac commands on linux (preferably in the bashrc file), but I am able to use these commands anywhere without setting up the PATH variable.. Similarly, without specifying '.' in the CLASSPATH variable (in fact, not specifying the CLASSPATH variable at all), I am able to access class files in the same directory. How is it possible ?

View 4 Replies View Related

Ubuntu :: Make With Make File Yields Error - /usr/bin/javac: Cannot Execute Binary File

Nov 17, 2010

When I try to compile some Java code on Ubuntu 10.10 (kernel 2.6+) using make and a Makefile.

I get an error indicating that the make utility cannot execute the java compile command (javac).

The error reads: /bin/bash: line 6: .: /usr/local/jdk1.5.0_18/bin/javac: cannot execute binary file

I am executing make as root. I have enabled permissions on all directories in the path /usr/local/jdk1.5.0_18/bin/javac and on javac itself.

I get this error whether using a jdk installed via ubuntu apt-get, or whether I install the jdk myself. And I get it using either Java 1.5 or 1.6

My machine has an 80386 processor. I notice the make utility is built for i686-pc-linux-gnu

However, I can manually compile using javac.

I can compile calling javac from within a bash script.

I can compile using the java compiler gcj from the command line: gcj --main=HelloWorld HelloWorld.java -o HelloWorld.exe

But I cannot compile java code from the makefile. Any reasons why I might be getting this error?

View 4 Replies View Related

Ubuntu Installation :: Possible To Create An ISO Install File/CD From Snapshot Of Current Working Install?

Sep 25, 2010

I have an apparently stable installation of Xubuntu that I've hand-tweaked in a few ways. I'd like to be able to reinstall this system verbatim on this machine should a disk crash happen, etc.Is there a "standard" method to create an install and/or total-backup CD that would be an instantiation of the currently-installed-and-modified system?

View 1 Replies View Related

Ubuntu Installation :: Server Install On Laptop Doesn't Install Pcmcia Support?

Jan 12, 2011

I am installing Ubuntu Server 10.10 on and old Dell Laptop. The network connection is an Xircom PCMCIA card.During install, the computer sees and interacts via the network just fine. For example, I can ping the gateway. Also, the command "lspcmcia" works and show the Xircom card.When I reboot, however, there is no network access, and the "lspcmcia" command is not there. When I try "lspcmcia" the OS helpfully tells me that I can "apt-get" pcmciautils, but, without network access, that fails.I tried adding the install cdrom to apt using "apt-cdrom" and then tried to "apt-get" pcmciautils and it got further, installing some dependencies, but acted like it still was unable to locate the pcmciautils package.

View 1 Replies View Related

Ubuntu Installation :: Install On Hp Pavillion - Hangs On Initial Install Screen Forever

Aug 11, 2011

Trying to install Ubuntu (tried several releases) on HP Pavillion Pentium 4 Proccessor 515 2.93 Gig 1M L2 cache 533mhz 90nm . Have 1 gig ram and 1Tb hd. Hangs on initial install screen for ever. Tried versions from 8.10 (origional disk) to 11.01. Machine works perfectly on Windows XP but who wants that? The model is pavillion 1000 system number pl397aa.

View 7 Replies View Related

Ubuntu Installation :: CD Install - Starts To Install Asks About The Partition Then The Keyboard

Nov 17, 2010

I downloaded Ubuntu and burned it to a CD-There was no problem with that part. It starts to install asks about the partition then the keyboard. Then it just stops and does nothing.

View 3 Replies View Related

Ubuntu Installation :: Install Step Fails: Select And Install Software?

Jan 7, 2011

I'm an OpenSuse user wanting to try something different.Ubuntu Studios caught my attention. I had a brief play with an older version a while ago and liked whatI saw.Im having problems installing though.I've downloaded the 32bit version from the studio website link, and burnt the DVD.However the install always fails at the same stage: Select and install software.The error message is not specific, and no more information is given other than the step has failed.Any ideas what could be causing this? Ive tried to burn the DVD several times, on 2 different machines, but no luck so far.

View 8 Replies View Related

Ubuntu :: Install Drivers To Install / Boot After Installation From Raid Drives

Mar 1, 2011

Installing Ubuntu 10.10 desktop.on a Highpoint rocketraid 2642.Installing Ubuntu, it does not find the drive?How do I install the drivers to install and boot after the installation from the raid drives?

View 1 Replies View Related

Ubuntu Installation :: Kubuntu-Desktop Install Moved Install?

Mar 7, 2010

I installed Kubuntu-Desktop on Ubuntu & now my Ubuntu installation is on the 2nd (data)partition! It's hard to believe but I'm looking at it from a live cd and that's what looks like happened.For right now, my main goal is to get Ubuntu back.Should I make the 2nd partition bootable so I have a dual-boot option at startup? Should I make the 2nd partition bootable & not the first? Can I uninstall Kubuntu somehow & have things return to how they were?I thought I was just loading an alternative sassion to Gnome.I thought that the only thing I said yes to was to use the KDE boot manager (or whatever).

View 8 Replies View Related

Ubuntu Installation :: Migrate Wubi 10.04 Install To A Full Install?

Mar 19, 2011

What is the easiest and/or safest way to migrate my Wubi 10.04 install to a full install? Currently, my Dell XPS M1530 is currently dual-booting Ubuntu 10.04 LTS and Windows Vista Home Premium, and I've decided after using Windows a total of around 4 hours over the past 6 months that I can probably let it go. So, I don't need Windows anymore and I believe I'm ready for a full install of Ubuntu. Though, I probably will wait for 11.04 to come out first.

A few ways I've thought of already are: 1) Find an external hard drive to put the Wubi files on. 2) Upload files to an storage website. 3) Temporarily put the Wubi files onto another computer (Windows). All these meaning I would then wipe my harddrive and install Ubuntu from a CD. And by "files", I mean Documents, Pictures, Downloads, etc.

EDIT: deleting all my applications, because OpenOffice.org won't reinstall on my computer due to dependency issues while attempting to install LibreOffice. So a fresh install would be nice.

View 4 Replies View Related

Ubuntu Installation :: Re-install Grub2 After New Win7 Install To New Disc?

Apr 18, 2011

I have been running ONLY linux (ubuntu) on my computer for years now. However, a friend sucked me back into the world of MMO's (angry fist @ RIFT). So, I decided to pick up a new disc, slap windows 7 on it and now want to dual boot.Basically I had to do some disc juggling to get windows to play nice. So my windows drive is now first, then my Ubuntu drive second.Its been a while so I'm wondering how involved / what would be the steps to get grub2 to chainload into windows7 (in my head I want to say I'm going to boot into the live cd, mount the windows disc and reinstall the loader to the windows drive since its the first disc in the chain?)

View 1 Replies View Related

Ubuntu Installation :: Natty Install, Will Only Boot Once After Install?

Apr 28, 2011

I've installed 11.04 64bit several times, and here's what happens. On install and reboot,seems to work fine. Then on 2nd boot, 2 things:1) grub has changed, the count-down counter is gone.2) will not boot in normal mode, I have to boot in reduced graphics mode, and even then only boots about 50% of the time, and then hangs on shut down.Help! I'm running 10.10, and it's got problems on my new laptop too, and was hoping 11.04 would get me where I need to be. I do NOT want to go back to windows.Some more info:Dell Vostro 3550, with Intel i3, and Radeon discrete graphics.3GB DRAM

View 8 Replies View Related

Ubuntu Installation :: Install New MBR On Second Hard Drive Without Having To Re-install Both OS's?

Jul 27, 2011

I have a setup with 3 hard drives. The first hard drive has windows 7 and is a solid state, for my fast computing needs. The second hard drive has another copy of windows 7 on one partition and Ubuntu 11.04 on another (and SWAP space).The third hard drive is just storage.Grub is installed on the first(SSD) hard drive, as well as the MBR (master boot record) for the two windows installs (select win7 in grub, then it lets me select which windows install to boot).Now I want to get rid of my solid state drive, and just run from the second hard drive with dual boot.How can I install a new MBR on the second hard drive without having to re-install both OS's?I've tried removing the first hard drive and using bootrec.exe to re-write the MBR and it will not work.I can install grub, and it boots to ubuntu but when I try windows 7 it says there is no MBR.

View 9 Replies View Related

Ubuntu Installation :: Upgrade Installation Error - Could Not Install '/var/cache/apt/archives/libc6_2.10.1-0

Mar 23, 2010

I was trying to update from 9.04 to 9.10.

During the installation, I kept getting tons of errors. Finally something came up saying that I had to abort the installation and it did some stuff. I tried running an application, but I got an error. So I restarted the system.

The normal screen came up where I had to choose the Ubuntu stuff (I'm new to Ubuntu) in the box. I noticed that it had gone to 8.10... which I had earlier before installing 9.04, which went great. So I chose the first on and the system failed to start. I rebooted and tried all the other options, but they all had errors. Now I'm booted to Windows.

I installed Ubuntu from a CD I created. But it is now outdated because it is 8.10, and I have already upgraded to 9.04. 9.04 to 9.10 is where stuff went wrong.

View 1 Replies View Related

Ubuntu Installation :: Install Inside Windows It Refers Installation Size?

Sep 6, 2010

When you install inside windows it refers installation size???

View 2 Replies View Related

Ubuntu Installation :: 10.10, Takes 30-45 Minutes For Installation/Live Environment To Load. Install Slow?

Apr 27, 2011

Being a former user of Fedora, i decided I'd like to give Ubuntu a try and install so i could switch from a windows environment for ruby on rails development.I downloaded the 10.10 ISO and burned the image to a DVD-RW (a cheap one) at 4xI'm deployed in afghanistan right now, and the only decent internet connection i have is in my office (i work in the network administration/operations office as a NETOPS NCO) and even then my downloads rarely exceed 50kbps. I also don't really have the best pick when it comes to writable media, i'm stuck with imation "plus" cd-r's and dvd-rw's.

After i burned the image to disc, i deleted the iso from my computer since i'm genereally not suppossed to keep personal files on work computers.When i boot to the disc it takes about 45 minutes on average to load into the live environment to do the install or try ubuntu, if i select try ubuntu it's another 10 minutes before it's done loading.The install is even slower, generally takes several hours to complete the install, once the install is complete and i select ubuntu in grub, i get a { DRDY ERR } ru When it tries to load ubuntu and kicks me back into the shell. Nothing appears to be wrong with my hard drive, checkdisk finds nothing.

General specs are:Intel Core i7 i7-720QM / 1.6 GHz 8GB DDR3 1333mhz ram2x 500gb hd'sBlu-ray/dvd/cd driveFull specs are at: the laptop is a g73jh-a1http://reviews.cnet.com/laptops/asus...-33950895.htmlI'm downloading the iso again and i'm going to try and burn it to a cd-r at the slowest possible speed, I'm mainly curious if it could be fualt of the disc i burned or if it has something to do with my computer.

View 9 Replies View Related

Ubuntu Installation :: Install Two NICs During An Installation From CD (one Network One ISCSI)?

May 10, 2010

Is it possible to install two NICs during an installation from CD? I tried and failed yesterday. The eth0 would have a static ip address 192.168.0.11 and would be used for Internet/network whereas eth1 would have a static ip address of 192.168.2.81 and would be used for connection to the ISCSI system (DROBOPRO). Oh yes, it's Ubuntu 10.04 Server version.

Install asks me to choose one of the two devices for configuration - I tried to be clever and set up one then the other but it didn't work, although the ISCSI subsystem was clearly working when I set up eth1 because the DROBO kicked into life as soon as I entered the IP address - communication was taking place. Thinking that my fudge had worked, I continued to complete the installation only to find that neither network interface worked on reboot.

View 9 Replies View Related

Ubuntu Installation :: New Install - No Drives For Install ?

Sep 7, 2010

I just purchased an HP HPE-210f (AMD Phenom II quad core). I would like to run Win7 and Ubuntu side by side. However, at step 4 of the installation (from USB drive) where the installer is trying to repartition the drive, the installer does not seem to recognize the disk... very odd. I've never had this problem before installing Ubuntu. The drive does not "show up" on the list of possibilities. There is simply nothing there!

View 9 Replies View Related

Ubuntu Installation :: Installation Of Peazip Failed - Now Can't Install Anything

Nov 11, 2010

I was trying to install a RAR extractor called Peazip (http://peazip.sourceforge.net/) I selected the 64-bit package (I run Lucid) and went for it. Everything extracted ok, and the package met all requirements. However, during the installation process, it hung. No movement. I closed out of the installation, and restarted, to attempt a second try.

Now, when I try to install anything:

Code:

(Only been running this OS for, oh, what, a week? And I already hosed it up! )

View 3 Replies View Related

Debian Installation :: Unable To Select And Install Desktop Managers In Net-install?

Dec 23, 2015

I downloaded and mounted debian-8.2.0-amd64-netinst.iso on my work machine's VirtualBox v5.0.12 to check out Debian stable/Jessie's installer and clean installation in case I need to do it soon. I like the new installer compared to 11/24/2011 on my old desktop machine. It is much nicer, fancier with its advanced options, etc.

However, I ran into issues with its "Select and Install" part when I selected desktop managers (e.g., KDE and Gnome) and continued. It failed as shown in [URL] .... images. Why? I tried again from scratch and same thing. If I don't select any and just select non-GUI stuff (e.g, SSH and standard system utilities), then it works but I want the pretty GUI stuff.

View 14 Replies View Related

Fedora Installation :: F11 - Graphical Install Fails - Text Install Has No Fdisk

Jun 28, 2009

I have been using Redhat/Fedora for 11 years. I don't understand why Fedora 11, can't even do a vga graphical install, when Windows can.

I tried many parameters, including xdriver=vesa, and it cannot used graphical install.

So, I tried text install, which I have done many times in the past.

However, F11 seems crippled, in that it will NOT do the same install achievable from a graphical install.

It will NOT allow the use of fdisk, and it will NOT allow any selection of any packages.

What is the point of this option?

Even after trying all of this, for a dual boot install, and F11 claims to have installed, there is no grub or equivalent, and the computer just boots windows, just like Fedora 11 did absolutely nothing.

What are the options now? Why is text install so crippled and incomplete? Why is standard VGA mode so hard?

View 1 Replies View Related

Fedora Installation :: Transfer Install Image To USB Drive, Then Install?

Dec 10, 2009

I don't have a working DVD burner. I'd like to transfer the FC12 install DVD image to a USB thumb drive, and install from there. Is that reasonably easy to do?ow would I transfer the .iso file for the install image to the USB thumb drive in such a way that I could boot from i

View 1 Replies View Related







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