How to open/download a .java file instead of it opening as a txt in a new Firefox tab?

Hi,
I need to download/open on my computer a .java file, but Firefox does not give me an "Open" or "Download" box, instead, it opens the java file as text in a new tab.
How do I download/open it on my computer?

I assume that you are referring to a JavaScript file.
Java and JavaScript are different languages.
To avoid confusion, see:
*http://kb.mozillazine.org/JavaScript_is_not_Java
If the server sends the file as text/plain then Firefox will open the file in a tab if you left click and not offer to download/save the file.
In that case you need to save the file via the right-click context menu or the File menu.
You will have to right-click the link and use "Save Link As" to save such a file directly instead of left-clicking the link.

Similar Messages

  • Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email a

    Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded). When I check the file it shows Zero KB downloaded but the file appears - any suggestions?

    Obviously your download was not successful.
    What is your operating system?  How exactly do you download such files?

  • How to save downloaded update installer files

    How can I locate a downloaded update installer file so I can save it and use to install on another mac without having to download all over again?  Today I downloaded updates for OS X and also for Office 2011.  The first is over 2GB and the second around 300MB.  I have installed on my Macbook Pro, but I have another 3 units to update. I live in a 3rd world country with very slow internet and it takes me days to download such files.

    Grateful for you having replied but for some reason I seem unable to open your message "Re: How to save downloaded update installer files".  Waikato99

  • How do i download a pdf file from an e-mail? save to computer did not work.

    How do i download a pdf file from an email? Save to computer did not work.

    What is your operating system?  What is your email client?  What exactly means "did not work"?
    Most email clients I know have a 'Save Attachments' functionality; did you try that?

  • How to test the simple .java file in cactus

    dear friends,
    i have use the junit first time .And i am working in weblogic8.1 so i have use cactus .But i face the problem to use it.
    1. how to test the simple .java file in cactus.
    2.how to run the cactus in weblogic 8.1.

    Hi,
    It is because the converter works on byte code and it only supports a subset of the Java language (see the JC specifications). It is kind of like compiling you code on Java 6 and trying to run it on Java 5. The JCDK outlines the required compiler version.
    Cheers,
    Shane

  • How to compile and run java files on a mac using command line?

    can someone tell me or link me to some article on how to compile and run java files from command line on a mac? I have mac OS X leopard

    What do you mean by "where to put them" ? What do you want to put anywhere ?
    Have you read Peter's comment in brackets ? Perhaps you have a classpath problem ?
    Edited by: Michael_Knight on Aug 31, 2008 4:23 AM

  • How can i let my java application closes the other opened windows

    how can i let my java application closes the other opened windows: like any other Microsoft Internet Explorer windows ... provided that my java application is not the one i used to open those other windows.... thanks in advance

    you'll have to use JNI to access the windowAPI
    then you need a list of window handles ... I think there was a function called getWindow and in order to close them you use sendMessage .... for details check out msdn (microsoft developer network)
    somwhere I saw a tool called JUtil, which might help you getting started on accessing the win api from java
    regards
    Spieler

  • How do i download a sent file if it says files not available

    How do i download a sent file if it says files not available

    Is this a file that someone sent to you via Adobe Send? If so, it's possible that the sender removed the file or stopped sharing it. Please contact the sender to see if this is the case.

  • How can I download old .ram files

    how can I download old .ram files?

    Hi ..
    Try this converter >   ram file converter free download (Mac)

  • How do I download legacy java 6.0 SE runtime?

    How do I download legacy java 6.0 SE runtime?

    I had the same problem running cs6 even when I upgraded java to 8... the thing is that you still need 6 even if you have 8.
    this link was the only thing that worked for me

  • How do I download a music file from a pc laptop

    How do I download a music file from a pc laptop?

    This is an iPad forum. Consult your Windows manual on how to download music.
    After you have downloaded and it's the format iPad supports, drag and drop music into computer iTunes.
    Connect and select iPad in iTunes, check the misic selection and sync.

  • How do you run another Java file from a master Java file?

    We're making a game in Java at school, and we need to know how we can run a Java file from another one - like inside the master Java file, we need to have a command to run game.java (something like that). Thanks!

    We're making a game in Java at school, and we need to know how we can run a Java file from another one - like inside the master Java file, we need to have a command to run game.java (something like that). Thanks!One doesn't "run a Java file", and there's no conventional definition of "master Java file". If you want to call the main() method of another class, just make sure the class is in your classpath and call the method. If you want to start up a separate JVM with that class as a process, use Runtime.exec() or similar method.
    ~

  • Hi! I've just downloaded my PDF file but when I open it with adobe reader for iPhone, the toolbar do

    Hi! I've just downloaded my PDF file but when I open it with adobe reader for iPhone, the toolbar doesn't show! Can please anybody tell me why?

    Hi Elena, you have to tap on screen of iPhone, toolbar will just slide in.
    -Charu

  • How can i download these jar files to load SQL server derive

    Hi
    pls tell me how can i download these jar files and from what site i can do that to enable to load SQL server driver
    msbase.jar
    msutil.jar
    mssqlserver.jar

    if u use sqlserver 2000 u can download for free from microsoft.com
    and other sites are freetds.com i guess

  • I need to use Softsign, but my iPad keeps opening up my .pdf file instead of allowing me to "open with"... of allowing me to "open with"

    I would like to use Softsign on my iPad, but mail keeps opening up my .pdf files so I cannot "open with" Softsign...please help, I gather part of the problem is that some files are single pages and that triggers their opening...

    No need to post your billing info here. This is a public forum. In any case, have you tried to check with the developer for support to get it going first? What do you have to lose.
    In any case, here is maybe where you want to correspond with Apple directly:
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

Maybe you are looking for

  • Illustrator CS6 is not displaying unicode characters properly.

    I need to access certain unicode characters (namely the x/8 fractions). I have the appropriate font installed, and the characters display in every other program on the machine, but they are not displaying correctly in Illustrator. If I type the chara

  • K8T Neo FIS2R and DDR400

    I'm looking to buy a K8T Neo2 FIS2R soon and I'm wondering what DDR400 to get for it. I'm looking at 2 sticks of 512Mb either Crucial or Kingmax, and I would like to know if anyone has used either of these sucessfully with this board. The part munber

  • Adobe Document Services Problem

    Hello all, When running a test of ADS (FP_CHECK_DESTINATION_SERVICE in se38) in our SCM 2007 system, I get the error -> SYSTEM ERROR: com.adobe.ProcessingException: CORBA conncetion to XMLForm failed please verify the binaries are deployed to the os_

  • Adobe Digital Reader is not opening now.

    Finally got the nook registered with yalls help but now i clicked on it and nothing pops up. What is it with this thing? Any suggestions will be greatly appreciated as Im about to chunk this nook. lol Thanks Becke

  • Not getting any audio

    Just setting up a new AppleTV and all is good except not getting any audio -- help