Appletviewer not compitable with Package

Hi All,
I have created a package javaProg.completeReferance. and use this same package to execute all of my java application however when I try to execute an applet it complains.this is how I execute applet.
appletviewer javaProg.SimpleApplet.html (or .class), but when I remove all the packages statement and go to the current Dir it executes perfectly . So can I concule that appletviewer is not complitable with packages.
below is the simple code. Any help is highly appreciated.
package javaProg.completeReferance;
//<applet code="SimpleApplet.class" width="200" height="200"></applet>
import java.applet.Applet;
import java.awt.*;
public class SimpleApplet extends Applet
     public void paint(Graphics g)
          g.drawString("Hello World",20,20);
}

I am using window vista and I read somewhere that
vista and java together , in the Applet programhave
few bugs.
Regards!Your chance of finding a true Java bug increases as
your java experience increases. On the other hand,
99.999% of 'bugs' reported by newbies are actually
bugs in the newbie's own code.sorry about that actually Java rocks.I am preparing for my SCJP , Can you please tell me is the exam very difficult to crack and also how much time is actually required for a noviceto crack this .This will be very helpful for me as I can plan according.
Thanks in advance!!

Similar Messages

  • Applet ok with appletviewer not ok with browser!!

    The applet run fine with the applet viewer.
    When I tried to run the applet from browser I got the following.
    Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError
         at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:259)
         at javax.media.j3d.Alpha.<clinit>(Alpha.java:1005)
         at HD3.createSceneGraph(HD3.java:161)
    On this computer I am sing 1.6.02 jre. On another computer which I have 1.5.05 jre the same code run with applet viewer and browser without problem.
    Any one can suggest a possible cause of error.
    Thanks

    What kind of jvm are you using in IE? It is possible that IE is either using it's internal JVM, which doesn't care diddly about policy files, or are using a plugin that looks for the policy file in a different place than your appletviewer does.

  • Acrobat Pro XI not installing with packager

    Hi all,
    Anyone else having a problem with Acrobat Pro XI installing with the CC packager?
    We had it originally with a larger install package but there's no .exe for it anywhere.
    It shows up in the Add/Remove but can't run it.
    Tried creating a separate package with just Acrobat Pro XI and that didn't work either.
    We're thinking it might have to do with the existing Adobe Pro 9? Or Adobe Reader?
    Anyone else having this problem?
    Thanks,
    Jeff

    Some links that may help
    -Team Installer http://forums.adobe.com/thread/1363686?tstart=0
    http://helpx.adobe.com/creative-cloud/packager.html
    http://forums.adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent
    Creative Cloud Enterprise License Restrictions https://forums.adobe.com/thread/1489872

  • I just purchased a camera packaged with Adobe photoshop Elements 11. I have a mac book air- which does not have a cd drive. The package did not come with a code or anything that would provide me with another way to install photoshop that came with my came

    I just purchased a camera packaged with Adobe photoshop Elements 11. I have a mac book air- which does not have a cd drive. The package did not come with a code or anything that would provide me with another way to install photoshop that came with my camera. Is there any other way i can install this on my camera without using the provided cd or buying the software again?

    That doesn't help the user with the serial code though.
    There has to be some kind of code somewhere within the package. The disk itself does not contain one. You can look here for help with finding your serial number:
    Find your serial number quickly

  • Function not found when package name exists with same name as schema name

    Hi all, any help would be appreciated :)
    I found an issue with pl/sql resolving a functions location when the db has a package name with the same as the db schema name.
    My example:
    -- arbitrary test function, not in any package
    create or replace FUNCTION testFunc
         inTest     IN VARCHAR2
    RETURN VARCHAR2
    AS
    BEGIN
    RETURN 'a';
    END;
    -- There is a package called "FM" with functions that are not referenced or used in this example and the db schema is "FM".
    -- The following PL/SQL fails with the message: "ORA-00904: "FM"."TESTFUNC": invalid identifier"
    select cursor (select testFunc('a') from dual) from dual;
    -- The following PL/SQL works:
    select * from (select testFunc('a') from dual);
    As mentioned the function testFunc is NOT in the FM package. This issue does not happen when I remove the FM package. So it seems like there is an issue with cursors calling functions when there exists any package with the same name as the db schema.
    Can anyone tell me why this happens and also what I can add to force the function that is not in any package to be referenced (without Oracle trying to look in the FM package)?
    DB: Oracle 11.2.0.2
    thanks!
    Paul

    Hi Paul,
    In general I would not advice to have schema and objects with the same name.
    Here is what documentation is saying here: How Name Resolution Differs in PL/SQL and SQL
    PL/SQL uses the same name-resolution rules as SQL when the PL/SQL compiler processes a SQL statement, such as a DML statement. For example, for a name such as HR.JOBS, SQL matches objects in the HR schema first, then packages, types, tables, and views in the current schema.
    PL/SQL uses a different order to resolve names in PL/SQL statements such as assignments and subprogram calls. In the case of a name HR.JOBS, PL/SQL searches first for packages, types, tables, and views named HR in the current schema, then for objects in the HR schema.As you can see above when using PL/SQL for your case Oracle searches first for packages, types, tables, and views named FM in the current schema, then for objects in the FM schema.
    And because a package FM is found it is raising an error due to the fact that the procedure could not be found in that package.
    I hope this clarify.
    Regards.
    Al

  • I've lost CS5 Design Premium Teachers Edition CD Installation Package. How can I download it? Typical version of CS 5 Design Premium is not working with my serial number

    I've lost CS5 Design Premium Teachers Edition CD Installation Package. How can I download it? Typical version of CS 5 Design Premium is not working with my serial number. Can someone help me?

    Łukasz%20Molenda if you purchased Creative Suite 5 from Adobe directly, and choose the download option at the time of purchase, then the download will be available in your account at http://www.adobe.com/.  You can find additional details at https://helpx.adobe.com/creative-suite/kb/find-download-link.html.
    If you purchased the software on a DVD and your current computer does not have an optical drive then you can copy the installation files to a USB drive on a computer which does contain an optical drive.

  • PS CC 2014 DNG and RAW 8.5 did not update with the rest of the CC package. I downloaded/installed the DNG/RAW converter but how do you install w/i CC 2014 plugins

    PS CC 2014 DNG and RAW 8.5 did not update with the rest of the CC package. I downloaded/installed the DNG/RAW converter but how do you install w/i CC 2014 plugins

    Thanks John. I have tried solutions 1 to 3 from (-http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.h tml) and they do not work. So I presume that all I can do is to remove all 25 CC applications and start again!
    Incidently, ( http://www.adobe.com/downloads/updates/ ) does not list Adobe Camera Raw 8.4 as an update even though Adobe have announced that it is available (http://blogs.adobe.com/lightroomjournal/2014/04/camera-raw-8-4-and-dng-converter-8-4-now-a vailable.html). The same applies for Adobe Premiere Pro 7.2.2 (http://blogs.adobe.com/premierepro/2014/04/premiere-pro-cc-7-2-2.html). If they are not available this would explain why I cannot download them but I am very suprised that Adobe didn't mention this when I contacted them.
    Anyway thanks again

  • Bought IMAC sept2012 after updates gray screen shows up with logo at start up. Please help! I don't know the system as I just start using it and the package did not come with CD to reinstall system. I tried to reboot holding shift but it does not work.

    Please help.
    I bought the IMAC 21.5" /2.5QC /2X2GB /500GB /6750M sept2012. After the automatic update run when restart computer the screen is on the gray screen with the logo and wont' do anything else. I tried to reboot holding the shift key without success. The package did not come with a CD so I can not reinstall the previous system. I even don't know what is the system that came with the computer because I just start using it. I bought in the US but am in Brazil. HELP PLEASE, how can I get the previous system so I can reinstall it? I do not mind loosing data but I need to work on it. PLEASE HELP! Thanks!

    Try booting into the Recovery HD which is on the HD. Restart holding down Command+r and at the screen with four choices select Disk Utility>Macintosh HD and click on 'repair disk'. If any changes are made click on repair disk again until you get a clear pass. Restart as normal from the Apple menu.
    More about the Recovery HD:
    http://support.apple.com/kb/HT4718

  • BW:  Data Packages Selected number does not agree with transferred

    Hi,
    I am running into an issue with an existing master data text load process chain in Production.  The extractor is from ERP and there are only 159 records.  What is happening is the chain is stuck on yellow but there is an issue with the data packages.  The status error message is 'Missing data packages for PSA table'.  Clicking into the Details tab the message then states Data Package 1:  arrived in BW; Processing:  Selected number does not agree with transferred.
    The version is BI 7.0.  I have done the following steps and still no luck.  Looking for any suggestions.  Thanks.
    ERP
        SM37 (Job always finishes)
        SM58 (No IDOCS stuck)
        ST22 (No short dumps)
    BW
        SM58 (No IDOCS stuck)
        SM37 (Job always finishes)
        ST22 (No short dumps)
    Reactivated Datasource:  RSDS_DATASOURCE_ACTIVATE_ALL
    Reactivated Transformation:  RSDG_TRFN_ACTIVATE

    Hi
    Just check whether source system connection is ok in RSA1.
    if it is fine then have a loo at the below thread(last post)
    Data Load from R/3 to BW-'Selected number does not agree with transferred'
    Regards,
    Venkatesh

  • Pacman complains with `"gcc-libs" is not in the package set` message

    Hi,
    today I wanted to do full system upgrade, but this happened:
    # pacman -Syu
    :: Synchronizing package databases...
    current                   69,7K   84,9K/s 00:00:01 [#################################################] 100%
    extra                    323,1K   17,5K/s 00:00:18 [#################################################] 100%
    community                312,4K  219,0K/s 00:00:01 [#################################################] 100%
    :: Starting full system upgrade...
    :: Replace scrollkeeper with extra/rarian? [Y/n]
    warning: apr: forcing upgrade to version 1.2.9-1
    warning: dnsutils: forcing upgrade to version 9.4.1_P1-2
    warning: ruby: forcing upgrade to version 1.8.6_p36-3
    warning: sudo: forcing upgrade to version 1.6.9p4-1
    warning: xpdf: forcing upgrade to version 3.02_pl1-1
    resolving dependencies...
    error: cannot resolve dependencies for "rarian" ("gcc-libs" is not in the package set)
    error: failed to prepare transaction (could not satisfy dependencies)
    :: rarian requires gcc-libs
    It's obvious that gcc-libs package is missing in current package. I've found one similar problem here http://bbs.archlinux.org/viewtopic.php?pid=283439. But I cannot solve it like that. I have current file included in /etc/pacman.conf already. I've also tried to change current to core and make the /etc/pacman.d/core file and it complained too:
    # pacman -Su
    :: Starting full system upgrade...
    :: Replace util-linux with current/util-linux-ng? [Y/n]
    :: Replace scrollkeeper with extra/rarian? [Y/n]
    warning: apr: forcing upgrade to version 1.2.11-1
    warning: apr-util: forcing upgrade to version 1.2.10-1
    warning: dnsutils: forcing upgrade to version 9.4.1_P1-2
    warning: ntp: forcing upgrade to version 4.2.4p4-2
    warning: ruby: forcing upgrade to version 1.8.6_p111-2
    warning: sudo: forcing upgrade to version 1.6.9p5-1
    warning: xpdf: forcing upgrade to version 3.02_pl1-1
    :: pacman has detected a newer version of the "pacman" package.
    :: It is recommended that you allow pacman to upgrade itself
    :: first, then you can re-run the operation with the newer version.
    :: Upgrade pacman first? [Y/n]
    resolving dependencies... done.
    looking for inter-conflicts... done.
    Targets: pacman-3.0.6-1 
    Total Package Size:   0,80 MB
    Proceed with installation? [Y/n]
    checking package integrity... done.
    cleaning up... done.
    (1/1) checking for file conflicts                   [#################################################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    pacman: /etc/pacman.d/core exists in filesystem
    errors occurred, no packages were upgraded.
    The last upgrade was almost perfect but now strange things happens. :^(
    Can anyone help me to solve this, please??

    kishd wrote:Did you replace current with core in your pacman.conf file?
    yes, the second output is related to pacman.conf with `current` replaced with `core` .... and good to say, that I did NOT forgot to update repositories with `pacman -Sy` before upgrade ;-)

  • I was given a 16Gb ipad mini retina with cellular but I need more storage. We do not have the receipt as it is a gift. I like to swap for a 64Gb unit and pay for the difference my self, how do I go about doing that? I have not open the packaging yet.

    I was given a 16Gb ipad mini retina with cellular but I need more storage. We do not have the receipt as it is a gift. I like to swap for a 64Gb unit and pay for the difference, how do I go about doing that? I have not open the packaging yet.

    Hi
    Thanks for that. Yes, the ipad was purchased recently. I called Apple last Friday and they ask for the receipt. I wonder if anyone were able to swap their ipad for a larger storage in the past at the apple store without a receipt? 16Gb is such a small storage.

  • Accessing Class not in the package by the Class in the Package.

    Hi All,
    I am using window my java application are located at
    c:\javaProg\completeReferance\......
    my Class path is set to c:\....
    Iexecute java application using
    java javaProg.completeReferance.MyProgramThe problem is when I wanted to use some other class which is not in any package I get the following error.(say class Car).
    C:\Users\pravin>javac c:\javaProg\completeReferance\SystemDemo2.java
    c:\javaProg\completeReferance\SystemDemo2.java:7: cannot find symbol
    symbol  : class Car
    location: class javaProg.completeReferance.SystemDemo2
                    Car object = new Car();
                    ^
    c:\javaProg\completeReferance\SystemDemo2.java:7: cannot find symbol
    symbol  : class Car
    location: class javaProg.completeReferance.SystemDemo2
                    Car object = new Car();
                                     ^
    2 errorsThis is my program ...package javaProg.completeReferance;
    public class SystemDemo2
         public static void main(String [] args)
              Car object = new Car();
    }Where should it place the class file for Car class.Can some one explains who to make the class from one package compitable with classes in default package or any other package.I hope this problem may be faced by lots of newbies.
    Appreciate your concern!
    Message was edited by:
    confused_in_java

    There's nothing wrong with it per se... but it has a
    number of pitfalls. Basically it's a hell of a lot
    more likely to go wring at runtime than the good ole
    "just put the class in a package and import the
    sucker properly" solution.Alredy implemented this now.
    That's what makes me shudder to see it in the
    (forgive me) shakey hands of a newbie... it's a bit
    like watching a tree year old trying to open a box of
    matches... if you've got any brains you push the
    rubber ducky in his hands and quietly secrete the
    matches in the cupboard above the fridge... and get
    yourself another beer whilste you're there.
    Christians don't drink on Sunday. So there's more for
    me.Thanks I wil remember this.
    I am about to put a new Thread I thought insted so putting a new thread I will ask it here.
    This Question is a bit wiered so please excuse me if you think this is foolish.
    I was just wonder that if we can put our package, which include classes offcourse at some web location, then this will be available to us from anywhere and can be shared all accross.
    So I am tring to dumb the package in a jarfile and place it at my webspace http://pravin.biz.ly/ how ever somehow i have problem doing it can any one help.
    Regards!!
    Pravin Dubey.
    Message was edited by:
    confused_in_java

  • Cannot install Logic from DVD version 9.0.0. because it is not compatible with the latest OS 10.8.3

    As I tried to install Logic 9.0.0 the OS comes out with a message saying that the OS is not compatible with this version of Logic.
    I have Logic conventional DVD Software package.
    How can I get this done?
    Any help, I appreciate!
    Thanks!

    No, the message prevents me from installing.
    Now, I took the App Icon from my Laptop which has the latest Logic Update installed and throw it in my new iMac's Application Folder. It seems to work OK.
    What I havent installed are the Additional Content and all the DVDs that come with Logic.

  • External USB HD does not work with HAL:

    External USB HD does not work with HAL:
    From the last 10 days the HAL auto-mount with ntfs-3g file system of my external hard drive  does not woks.
    But the manual mount procedure with the command mount -t ntfs-3g /dev/sdb* /mnt/XYZ works.
    I've followed the instructions in the wiki: http://wiki.archlinux.org/index.php/HAL and the system has worked up to the last kernel or HAL update.
    My fat32 usb-stick works without any problem.
    If I try to open the device with KDE it appears an error popup wit this message:
    TODO: have to rethink extra options
    Error: kio_media_mount_helper
    The log from the kernel.log is
    Nov 6 22:03:16 myhost usb 5-1: new high speed USB device using ehci_hcd and address 4
    Nov 6 22:03:16 myhost usb 5-1: configuration #1 chosen from 1 choice
    Nov 6 22:03:17 myhost Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    Nov 6 22:03:17 myhost ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    Nov 6 22:03:17 myhost Initializing USB Mass Storage driver...
    Nov 6 22:03:17 myhost scsi6 : SCSI emulation for USB Mass Storage devices
    Nov 6 22:03:17 myhost usb-storage: device found at 4
    Nov 6 22:03:17 myhost usb-storage: waiting for device to settle before scanning
    Nov 6 22:03:17 myhost usbcore: registered new interface driver usb-storage
    Nov 6 22:03:17 myhost USB Mass Storage support registered.
    Nov 6 22:03:22 myhost scsi 6:0:0:0: Direct-Access WDC WD32 00JB-00KFA0 0811 PQ: 0 ANSI: 0
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Nov 6 22:03:22 myhost sdb: sdb1
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Attached SCSI disk
    Nov 6 22:03:22 myhost sd 6:0:0:0: Attached scsi generic sg2 type 0
    Nov 6 22:03:22 myhost usb-storage: device scan complete
    and the error.log is
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Do you have some idea ....
    Bye.

    I have done the following:
    Downloaded the patched hal version.
    used makepkg in /abs/local/trunk/ to create a pkg for pacman
    used sudo pacman -U pkgname to install it.
    used sudo nano /etc/hal/fdi/policy/preferences.fdi to create the fdi file with the following content:
    saved the file and removed my ntfs entryes from fstab and rebooted. and still there is no automount off ntfs partitions.
    have i done something wrong?
    br fjodork
    WARNING: what follows is a guide of what did work for me, I'm still in an early stage of learning linux, so please correct me if anything of what follows is wrong/dangerous/stupid. As I said, this worked for me, it's not pretty, since I was learning each step on the fly and I'm sure there are better ways to do this.
    So fjodork, you seem to have done the the necessary steps, though i couldn't get it to work until i first removed hal without dependencies
    pacman -Rd hal
    it will give you some warning about the dependencies, ignore  it since we are reinstalling hal in a few steps.
    First i tried to follow Raymano's link, obviously it showed me nothing in the browser so I thought it might be a broken link.
    So I downloaded the source tarball from here http://hal.freedesktop.org/releases/hal-0.5.10.tar.gz
    unpacked it changed the /tools/hal-storage-mount.c as per Milfadoodle's instructions.
    at first I tried to compile directly from source, the process would finish without a glitch though after reboot nothing changed, as if hal weren't
    installed, i guess there were issues with paths. anyway read on
    Then repacked the source in tarball, copied it to /var/abs/extra/system/hal and modified the PKGBUILD as follows
    makedepends=('pkgconfig' 'gperf')
    options=('!libtool')
    install=hal.install
    source=(${pkgname}-${pkgver}.tar.gz #removed url so makepkg looks in the current directory for the tarball
        hal
        hal-policy.patch
        cryptsetup_location.patch
        hal-0.5.9-hide-diagnostic.patch
        ntfs3g-valid-options.patch)
    md5sums=('6641c30a27c00485c6accac5110ff911' # replace with md5sum of your package's sourceball (run md5sum filename)
             '882f67668cb14a0a9e4a27ef22278027'
             '5ba8b610aa9763a5f42b9f7cbd7a86ad'
    then makepkg (i had to add --asroot, don't ask why
    and finally pacman -U hal-0.5.10-1-i686.pkg
    another reboot and everything worked without a glitch!:D (yeah i know i still haven't got rid of the reboot mentality )
    I have also put the policy files as per the wiki instructions.
    PS: I know this is a dirty way to getting things done but as i said, I'm just starting
    If anyone could comment/correct/explain this post I'd be more than happy, the automount issue was bothering me for about a month now (you'll say why do I need ntfs in the first place? well, I only recently switched for Linux as my primary OS, these are some relics of the M$ era

  • API5036: Client version 10.2.0.1.31 is not compatible with repository ver..

    API5036: Client version 10.2.0.1.31 is not compatible with repository version 10.2.0.2.0
    I got this error after upgraded with patch p5696353_10202_AIX64-5L
    I tried to log in but there was a pop up dialog told me about this error. Do I have to install new client version?? I cannot find owb client 10.2.0.2.0 on the download site. Would you guys help me to get though this please?? Any solotion if I still used owb client version 10.2.0.1??
    Rgds,
    Godtee

    Hi Godtee,
    you have to use the same version on the client as on the server.
    There is only one software package containing owb client and server components. Use it for server and client side installations.
    It seems that you have patched your server installation to 10.2.0.2.0. Apply this patch to your client installation and you will be able to connect to the repository with version 10.2.0.2.0
    Regards,
    Carsten.

Maybe you are looking for

  • How to use standalone java client with an enterprise bean in J2EE 1.4

    Hi All, I am have deployed a stateless session bean in Sun's J2EE 1.4 Application Server. i am trying to call the bean using a standalone java client. but the client cannot access the bean. The error coming is: Jan 21, 2004 7:48:27 PM com.sun.corba.e

  • Where can I sell my MacBook Pro?

    Hello! I want to sell my MacBook Pro so I can get a Retina MacBook Pro Where can I sell it? I don't want some crappy service like gazelle that gives you less than its worth and cannot sell on eBay as I don't have a credit card. I don't want to use cr

  • Tables required for field street2 street3 street4

    Hello All, I want to print customer/vendor street2, street3,street4 in my report. pls tell me the table(not structure addr1_data) and fields from which i can fetch this fields. Thanks Sunny

  • Question for jschell

    Hi Jschell, I have gone through a lot of posts on jdbc drivers and obviously a lot of them contain your replies. I have a question about JDBC-ODBC bridge and I think you are the right person to answer it with your experience. My project architecture

  • MacBook Pro Wake-up numerous panics Vodafone USB modem

    I have a MacBook Pro 15" with Mountain Lion OSX 10.7.5 installed. I plug in a usb modem "Vodafone Mobile Broadband K3765 HSPA USB Modem" or  "Vodafone Mobile Broadband K3520 HSPA USB Modem"(HuaweiDataCard). With the modem plugged into the USB when th