Troubles with newer releases of Java

At home, I am running Windows XP and at school I am using a Windows 98 SE computer to do my Java work on. On both computers they have the 1.40_01 SDK installed and I'm using jEdit on both of the computers. For some reason, I can compile .java files, but I can't run anything. I keep getting errors with the main method, but the method is correct. I also cannot view applets through the browser. Most of my project in in Swing, so creating a html file for viewing the applet isn't a problem.
Any Suggestions?

You say you can compile right?
But when you run your compiled program, you "keep getting errors with the main method",
but then you go on to say, "but the method is correct". That's a bit confusing.
I think if you want any help, you're gonna have to post those errors, even if those errors are in error!
Seriously though, I do nearly the same thing it sounds like you do, I have all my programs, etc... on one zip disk, and use it between different machines and operating systems to program, including XP. I've been doing this for about a year now without any problem. I'm pretty sure you've got an error in the program somewhere. You should post the code and errors, otherwise it's pretty hard for people to try to help you.
Oh, wait a sec, if you're 1000% sure your code is ok, but you get errors when you run it, maybe your classpath is wrong. I bet that's it. The error you're getting may even suggest that.

Similar Messages

  • [svn] 3127: Updating asdoc to replace the avmplus call with new set of java files.

    Revision: 3127
    Author: [email protected]
    Date: 2008-09-05 14:16:53 -0700 (Fri, 05 Sep 2008)
    Log Message:
    Updating asdoc to replace the avmplus call with new set of java files.
    Removing all files related to asdochelper.
    QA: Yes, also please test on non windows platform.
    Doc:
    Tests: checkintests, asdoc
    Reviewed by: Pete Farland
    Modified Paths:
    flex/sdk/trunk/asdoc/templates/ASDoc_Config_Base.xml
    flex/sdk/trunk/asdoc/templates/asdoc-util.xslt
    flex/sdk/trunk/modules/compiler/build.xml
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
    Added Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsClass.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocHelper.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/QualifiedNameInfo.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/SortComparator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va
    Removed Paths:
    flex/sdk/trunk/asdoc/templates/asDocHelper
    flex/sdk/trunk/asdoc/templates/asDocHelper.linux
    flex/sdk/trunk/modules/compiler/asdoc/

    I had a generic record class that has a HashMap to hold the data fields (...)
    method called createRecord() for each record type which would populate the HashMap with the correct data fieldsI'm not sure I understand: are the contents of this field map the same between two records of the same type? Then yes, you don't need to clone the map per record instance.
    one thing that needs fixing is the fact that each time the createRecord() method is called I'm creating a new fieldMap to define the dataFields in the record class.Probably, but that will only get you a little bigger files; you won't gain an order of magnitude on the size of files. The problem for huge files is that as soon as their content is bigger than the available memory, you'll run into problems. A more radical approach if you need to address huge files is to process the records on the fly, and not load all records in memory. Of course not all algorithms or business logic can afford that...
    I know I could rewrite the code and create a class for each record type and declare the fieldMap static but I was wondering if anyone had any better suggestions The Record instance could receive and keep a reference to its RecordType instance, and ask the RecordType instance the DataType for a field's name. That way the RecordType encapsulates the map, and there's less risk that a clumsy other class modifies the static map.
    before I go rewriting a load of code.A load of code?!? Even with the idea of the static map, you only have to edit the enum type (well more accurately, each RecordType enumerated constant's createRecord() method).

  • I am having trouble with new I-Phone 4 battery running down in 5 hrs.? Help.

    I am having trouble with new I-Phone 4 battery running down in 5 hrs.? Help.

    Do you have alot of apps running in background? Tap home key 2 times and there's a list across screen with icons you can deselect them by hold on one and they wiggle touch the minus button and it will deactivate them untill you use them again. Do you have the phone dim after so many seconds or minutes? Is the screen bright all time? Do you go on the Internet or watch video on phone?
    These things can affect the hrs of use.

  • Issue with New Release Deploying Crystal Reports for Visual Studio 2010

    Previously I created a deployment project with Visual Studio 2010 using the Beta 2 release of the distributable. This worked fine and installed on a 32-bit XP machine.
    I've since updated the project to use the new Release version of the distributable CRRuntime_32bit_13_0.msi. Now when I run the installed program it gives me the following message -
    "An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information."
    I've had a look at verious posts and added code to the app.config file so it looks like -
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
    </startup>
    and also tried targetting various .NET frameworks, but without success.
      Am I missing something?

    Hello,
    More info, are you installing on the same PC as the Beta was installed on or a clean PC?
    Your app must be set to the full framework, not the client version.
    Are you installing by right clicking on your setup.exe and selecting run as administrator?
    Setting that option in the app.config is only required if you are using that driver you found the info on.
    Run ProcessMonitor and set it to filter your installer and see what it reports.
    Thank you
    Don

  • Configuration tool issue with new release

            With this new release - September 2013 - We have found that when doing find products (as opposed to enter sku) the option to add seems to work -  it gives a message that its added. But when returning to config the SKU has not been added.  Its a bit anyoying as you then have to re-enter the SKU to add the product. - Several staff have observed this at our site..   Others ?

    Hello Hsummons,
    Thank you for brining this to our attention and we sincerely apologize for inconvenince this might cause.
    Please be informed that in order for us to process your request with the steps to take on this concern. We are requesting that you may open a case with us or you may us at CCW Support 1-800-553-6387 options 2 and 3 or you may email us at [email protected] or [email protected]
    With this, we may be able to assist you with the CCW Tool. Again, we aplogize for the inconevenience.
    Thanks,
    Jen
    CCW Support Team

  • Permissions trouble with new MacBook Pro

    I had previously upgraded my MacBook Pro (original unibody model) to Mountain Lion with no apparent issues. I have two Users, both with Admin status and everything appeared to function as before.
    I just traded in my old MacBook Pro for a new current model Retina MacBook Pro, using Migration Assistant upon first startup to move everything over from the older machine. Most everything has been seamless - except for Permissions.
    I started seeing messages appear indicating I didn't have permission to open files, run apps, delete files, etc. Looking at Get Info, I found Sharing & Permissions was only set up for (if I recall correctly) Admin, Administrator and something called Wheel. I solved the permissions issue while logged in as the primary User by adding both Users to the Sharing & Permissions section of the Info screen for the entire hard drive, giving them Read & Write access, and selecting Apply to enclosed items... That seems to have solved the issue for the primary User.
    But then I tried working logged in as the secondary User. I started getting messages indicating I could not save a file I had just modified because I did not have permission, and that I should contact the Administrator. Well, that's me. So I tried the same thing that I did logged in as the primary User, but there was no change. I still can't save a modified file logged in as the secondary Admin User.
    I haven't found anything that addresses this - except to learn where the Wheel User originated. Can someone point me in the right direction to where I can learn how to gain full, unlimited access to my own computer - under bothe User accounts?
    Thank you.

    You corrupted the permissions of every file on the volume. Restore everything from the backup you made before doing that. Then do as follows.
    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line on this page to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • HT5262 Hi Good morning, trouble with new phone 5s 32gb when i have just tied to connect to itunes nothing happens

    Hi I have just plug into  my computer with new iphone 5s 32gb and it will not connet to itunes

    Our fix was:
    Control panel, uninstall every apple program including bonjour and quicktime and mobile device drivers. restart computer, download itunes...worked fine on our 2 computers.

  • HT5085 having trouble with new phone activation

    Im having trouble with actavation for my sprintpcs device iphone5s

    Hi there Lilly015,
    You may find the troubleshooting steps in the article below helpful.
    iPhone: Troubleshooting activation issues
    http://support.apple.com/kb/ts3424
    -Griff W. 

  • Registration Troubles with new mini

    I just got a new macmini 1.83 with 1g ram bundled from a Apple retail store.
    When I tried to register online the serial number was not accepted. I had to imput the product number as a temp number. Anyone else having the same Problems with new minis?
    Rob
    Powerbook G4 15" 1.5 Superdrive 512 Ram   Mac OS X (10.4)  

    If it's a very recently built computer, it may take a week or two for the serial numbers in Apple's online database to catch-up. If you call AppleCare Support in the U.S., there's an option for AppleCare issues that are not technical support about your computer. Those folks can register it for you by going directly to their database.
    -Doug

  • Downloading songs troubles with new nano

    Hello. I recently revieved a new pink ipod nano for the holidays. I am having some trouble downloading songs onto it.
    I curently have one ipod mini and one itunes account.
    I have followed the little instruction thing that came with the new ipod nano but i have no luck.
    [when it told me to turn off the computer it did and it turned back on and nothing really happened after that]
    I would just like the songs to transfer to the new ipod nano. everytime i plug it into my computer it just is charging the battery and is not downloading any of the songs from the existing itunes account. do i need to make a brand new itunes account?
    i would really not like to make a new itunes account on my other computer due to the ammount of space taken up by it.
    i think i am doing it right but having the already existing itunes account has made it difficult? i really don't know and am confused..
    if anybody could help me with this i would really appreciate it!!! i would like to have this problem resolved within the next day or two seeing i am going on a trip.
    not sure     none

    A few questions for you.
    Is this music purchased from the iTunes store you're having difficulty with, or all music?
    How do you normally transfer music? Any error messages?

  • Bootcamp trouble with new hardrive

    After i got a new harddrive, due to the defective harddrives in the 2009-11 iMacs and Apple had to exchange them free of charge, I've been having trouble installing bootcamp in my Windows 7. Everything went smoothly with the partitioning and the installing of W7 and naturally I've had previous experience in doing so, so no trouble there. The problem arises when I try to use the OSX install dvd to install bootcamp. The disc kept spinning for a while and then just ejected it again. So i tried installing manually by downloading bootcamp from the support site. After finding the appropiate version (4.0 < ) I tried using the setup.exe as prescribed in the bootcamp installation manual, but to no avail. Apparantly the version is not the right one. So I deciced to try an older version (3.3) but got the message "The Boot Camp version currently installed on your system does not require this update." which was weird since i hadn't installed any Boot Camp!
    So far I have tried 3.3, 4.0.4255, 4.1.4586 and 5.0.5033 but neither of them seems to work. Have installed some of the non-Apple drivers, but i still can't communicate with neither my apple keyboard, my magic mouse or my OSX partition to name a few.
    Truly hope anybody has experienced the same issues AND gotten around them.

    Welcome to Apple Support Communities
    If you have a Late 2009 or older iMac, you need these Boot Camp drivers > http://support.apple.com/kb/DL1630 You can be sure that these drivers will work with your iMac, because Boot Camp 5 drivers are only compatible with Mid 2010 27-inch iMacs and newer

  • How to replace namespace tag with new value using -JAVA MAPPING

    Hi Guys,
    I need to replace namespace Tag in Target xml with a new value.
    For Eg: My namespace Tag is - <ns0:TestHeader xmlns:ns0="http://0020.TestHeader.SS.com">
    I want My target xml to have value- <ns0:TestHeader>
    How can i achieve it using JAVA mapping?
    Can you provide me the code to do so.

    Sarjana,
    Not well-formed XML is only possible by Java Mapping. Please use below replace logic in Java map.
    inputContent.replaceAll("<ns0:TestHeader xmlns:ns0=\"http://0020.TestHeader.SS.com\">", "<ns0:TestHeader>");
    Link1, Link2.

  • Mail and Address crashed while I was having trouble with new iWeb 1.1

    While I was having trouble publishing my website with brand new iWeb 1.1 version that was just upgraded with all the upgrades 5/15/06 and after crashing that program as many people did (see iWeb discussion group), that is crashing about 15 times, my Mail program changed, losing all my old mail and account. And holy moly, all my Address program data is gone!!! What could have happened!!! can I get anything back! Never crashed Address like this before - this is a disaster! any help?

    Here is a link which describes the process for changing an Adobe ID:
    Adobe ID, sign-in, and account help

  • Troubles with new DSL modem (moto 3260)

    Folks,
    My old 2wire died and I picked up a Motorola 3260 from ATT....been reading a lot of articles on these boards but I'm stymied trying to get this to work with my Airport Extreme (and MBP on Mountain Lion)
    I actually seemingly had the Modem-Airport-Computer connection working for a few minutes, but the connection quickly fell apart and I'm busy trying to methodically put it all backk together.
    1) Reset modem and pulled power. Put modem back in non-bridged mode. Got new DSL password from ATT. Attached directly to computer through ethernet cable. Works!
    2) Put modem into bridged mode. Cycled power on modem and computer. Set computer to "DHCP with manual address" so I could directly access the modem's settings pages. Verifed that modem showed up in bridged mode.
    3) Set computer to DHCP (without manual adress)....renewed lease.....shut computer down and powered back up. Created PPPoE service on computer to see if I could get that working first before doing the same thing with the Airport....but this failed to connect! NOTE: I had gotten this working yesterday a few times, but not today.
    So, this is the main issue....I can't seem to get PPPoE working via my computer to DSL modem directly, or when I use the AIrport to DSL modem.
    If anyone has any pointers or advice, I would REALLY appreciate it!!!
    Thanks!
    Tom

    Sorry for the difficulties.
    I have used the Motorola 2210 for a number of years with rock solid performance. The modem is not exactly in Bridge Mode....it is set to PPPoE is on the computer or router.  I do not know if the 3360 has that option.
    It appears as if the 3360 has replaced the 2210....I have not tried a 3360 yet.
    I use an Airport Extreme which is configured to provide the PPPoE connection service. No special setup, or hidden settings, etc. Been running fine for 4+ years.
    Not sure why you are having so much trouble, when it appears that you are doing everything right.
    You may have already thought of this, but it is possible to run PPPoE on the modem, and have the AirPort Extreme connect using "Ethernet".  That will create a Double NAT error, but this is usually not serious, and AirPort Utility provides you with an option to "ignore" the error, so you get a green light, and not flashing amber.
    I have run the network this way from time to time if for no other reason than experiment. The Double NAT does not seem to affect anything noticeably....unless you are using online gaming or other things that will not tolerate a Double NAT.
    One of the advantages of using Double NAT is that you can bring up the modem settings simply by typing in the 192.168.1.254. Of course, if the network is running OK, there is not much reason to do this.
    I'm not recommending that you use the Double NAT setup, but it might be worth a try to see how you like it...or if it works.  Post back if need a few tips on this.

  • Trouble with new airport- Blinking Amber light

    Not sure if this has been answered- but I'm having mucho problems with my new airport express. I am running an powerbook g4 with the original airport- and I want to use the express to extend the range of the airport. However I followed the directions on the apple support- and the light is STILL blinking amber- what's the deal. Can someone help me- step by step (i'm kinda slow...even though it's still apple haha!)
    Thanks!

    I've had a lot of similar problems, and find the whole process quite frustrating, as the directions are very minimal.
    The easiest way that I've come up with is as follows.
    1. Perform a hard reset of the AirPort Express. (Use a pen, pencil, or paper clip to hold down the reset btton on the bottom of the unit. Hold the implement in place until the amber light begins to blink rapidly. Release the implement.)
    2. Open up the AirPort Setup Assistant (Applications/Utilities/AirPort Setup Assistant).
    3. Select the option to set up a new AirPort Base station and select the base station (it will have a weird-looking alphanumeric name).
    4. Select the option to join the current network, and then select the option to extend the range of your current network.
    The rest is pretty self-explanatory, provided that you know the password to and the name of your main base station as compared to other access points in your network. You want your AirPort Express to be a remote base station and the other to be the main base station, if I'm not mistaken. I hope this helps. Good Luck!
    MacBook Pro 17"   Mac OS X (10.4.6)  

Maybe you are looking for