Why does jdk depend on jre ?

Installing jdk through pacman calls jre as a dependancy, however, the jdk packages shouldn't require jre (the functionality is included with jdk).
Note:
JDK 6 Update 2
The Java SE Development Kit (JDK) includes the Java Runtime Environment (JRE) and command-line development tools that are useful for developing applets and applications.
http://java.sun.com/javase/downloads/index.jsp
and
Contents of the JDK
Runtime Environment
(In the jre/ subdirectory) An implementation of the Java Runtime Environment (JRETM) for use by the JDK. The JRE includes a JavaTM Virtual Machine (JVMTM), class libraries, and other files that support the execution of programs written in the JavaTM programming language.
http://java.sun.com/javase/6/webnotes/README.html
In the past, on other distro's I've never installed JRE when I wanted JDK. Is this an error on the maintainers part or...?
Last edited by steven (2007-07-25 10:45:04)

Cerebral wrote:
steven wrote:
It's simple, the JDK has the runtime environment built in, so there's no need to install both the jdk and the jre. If someone is in the scenario you describe whereby, they have JRE already installed and decide to install the JDK afterwards, then pacman should be able to detect the existing jre and simply remove the runtime environment from the JDK package (which currently happens). I'm simply saying, if someone only wants JDK, don't install 2 seperate packages as the JDK includes JRE anyway.
Surely in the PKGBUILD or install files in pacman, it can make checks for a pre-existing JRE install (when installing JDK) and only remove the runtime from the JDK, but if there's no pre-existing JRE install, then ONLY install JDK, without removing the runtime.
My Internet connection is super, so I don't have a big issue with bandwidth, but surely it's better for your mirrors and users who don't have super connections. It also just makes more sense. It seems completely daft to download 60 megs of 2 packages, then delete jre from the jdk and install it seperately. It's bizarre.
I don't think you understand how our packaging system works... the jdk we provide, that users download from our repos, does not have the "included" jre - users don't download the jre twice.  In your suggestion, they would download the jre twice (once when they install jre, and once again later when they install jdk).
Besides that matter, it is not a simple thing to dynamically alter the contents of packages at install time - we provide binary packages, pre-built, and the file list of a package is essentially exactly equal to the contents of the tarball you download.
The way we have it now, only one package in our repos contains the jre, and that's the jre package.  I don't see why you'd rather your package manager sees one package instead of two - you have no duplicate files on your system, and downloaded no extra data (since the binary jdk package doesn't contain the jre at all).
Ah ok I see, I had the wrong idea.
AndyRTR wrote:check our jdk PKGBUILD and you will find a line   rm -rf linux-jdk/jre
This quote gave me the idea that it's download, but then the built in functionality is removed before it's actually installed. Are you saying that this isn't the case?
shining wrote:You're so good that you don't even need to run the programs you write
I wish

Similar Messages

  • Why does KOffice depend on gtk?

    When I try to install KOffice, I get:
    resolving dependencies... done.
    looking for inter-conflicts... done.
    Targets: libgsf-1.14.3-2  wv2-0.2.3-1  lcms-1.16-1  libwmf-0.2.8.4-4
             atk-1.18.0-2  cairo-1.4.6-2  libthai-0.1.8-1  pango-1.16.4-1
             gtk2-2.10.13-1  libcroco-0.6.1-1  librsvg-2.16.1-1
             imagemagick-6.3.4.4-1  python-2.5.1-1  libwpd-0.8.9-1
             libexif-0.6.16-1  koffice-1.6.3-2  libdatrie-0.1.1-1
    Total Package Size:   49.97 MB
    Proceed with installation? [Y/n]
    Why does it depend on gtk2?
    Last edited by miggols99 (2007-07-08 17:30:57)

    librsvg is dependent on GTK2. This was discussed at KDE-devel:
    http://lists.kde.org/?l=koffice-devel&m … 425620&w=2
    Last edited by skottish (2007-07-08 17:44:57)

  • Why does vim depend on vi?

    Running a very minimal machine in minimal space, I have a custom vim package that strips out gui, perl, python and ruby intergration because i don't use any of those features. i was thinking of also removing vi to save try to save the 28 megabytes (it is important, its a 2 gig usb stick), since vi and vim come from the same source and I initially though they really shouldn't need to depend on each other.
    However, it turns out that vi creates the /usr/share/vim folder which both it and vim use and need. This looks like the only reason vim needs vi, and obviously its done this way to prevent package file conflicts. The 28 IS pretty much the size of the /usr/share/vim folder, so its a stupid space "optimization" to persue, as without vi, vim would just be that much bigger itself, but for curiosity's sake, is it possible to build vim without vi? I couldn't figure out what trick causes the vi PKGBUILD to include it and the vim one to drop it. What causes vi package to create a /usr/share/vim and prevents the vim package from doing the same?

    Also, vi lacks X support and vim is compilled --with-features=big while vi only has --with-features=normal.
    Vi, for example, won't do 256 colors.

  • Why Does Installing The JDK On A 64bit OS Install 3 Copys of the JRE???

    I am running Windows 7 Home Premium 64bit version. I recently installed the JDK and realized that along with it 3 copys of the JRE were installed. This is a brand new computer I am running that I just brought home a few days ago so I know there not older versions. Basically what I have is the following; I downloaded the 64bit JDK package and installed it on my system. Now I have the following set up and would like to know if I can safely uninstall any of these as I dont think I need all of them.
    Under Program File(x86) I have the jre6 installed there, that is the 32bit version.
    Under Program Files I have the jre6 installed there, as well as the jdk1.6.0_20 these are the 64bit versions. The troubling thing is that inside the jdk1.6.0_20 folder I have yet another jre installation.
    Now I assume that I need both 32 and 64 bit versions on my system for whatever reason is the case. What I do not understand is why if the jre6 is already installed in both the 32 and 64 bit locations as indicated above, than why does it also get installed inside the jdk1.6.0_20 folder location?? I know that the jre comes bundled with the jdk but is that the jre that is located inside the jdk directory or is it the jre folder????
    Could someone please explain to me exactly how this works and what version i can uninstall??? I am assuming that I can remove the seperate jre6 install that is located in the 64 bit program files location as then that would leave me with the 32bit jre still installed and I would also still have the jre that is installed inside the jdk folder...
    Am I correct on this one??? Also another quick question.... If you need both 32 and 64bit jre's than why don't you need both 32 and 64bit jdks??? Also is it possible to just go ahead and run only the 32bit version on a 64bit machine???
    Thanks in advance for any help

    They bother me because I prefer to keep my system tidy as possible. I do not like to have extra things installed that just waste hard drive space. I am the type of person that keeps my system as clean as my house. I don't like having things laying around that are never going to be used and just waste space. Now in this case apparantly one of these copies of java is not going to be used ever. It makes no sense to me that if the jdk comes with the jre bundled, then why would it also install a seperate jre in another folder when there is already a jre contained within the jdk folder?????
    I understand the purpose of the 32 bit install of the jre, but why would you have the following set up???
    Program Files
    jdk1.6.0_20>>jre
    jre6Program Files(x86)
    jre6Thats 3 copies of the jre and only 1 of the jdk?!?!?! I need one jre for 32bit and one for 64bit, but why the extra copy in the 64bit location???
    You mention uninstalling and reinstalling, but as I said earlier this pc is only a week old and all i did was download the 64bit jdk from the Java website and install it. So all that will accomplish is the same result. My question was trying to figure out if it is safe to remove the extra copy of the jre without losing any functions????? Or would it be better to just remove it all and install the 32bit version???? I read that the 64 bit is for Internet Explorer 64bit which i never use, I use google chrome and firefox which are both 32bit. The thing is though is that the jdk is what I need for programming. Does it matter whether its 64 or 32 bit????
    Edited by: wakeup6620 on Jun 15, 2010 9:48 AM

  • Why does the JDK come with a JRE and JDK?

    I was wondering why when I download the JDK does it install a JRE and JDK. The JDK (I believe) includes all the JRE files as well as the compiler files. I can just as easily get rid of the JRE and as far as I know it wouldn't make a difference so why both?

    I thought it was a 2-for-1 deal ;-)
    Seriously, it doesn't make sense for me either. What
    would make more sense
    is for the JDK installation to install that separate
    JRE, but to use that JRE instead of
    installing a second one inside its folders.That would make much more sense, but I am guessing there is some intracacies that I'm not aware of or speed reason or something of the sort that would explain this. The first thing that comes to mind is knowing people might be copying the jre, someone might accidentally pull the jre out so they still wanted the sdk to work with the built in one. This is a pretty big stretch i know but there must be a reason somewhere.

  • Why does JRockit updates lag behind Sun's?

    If I understand correctly, JRockit's class libraries are exactly the same as Sun's.
    Sun has already released update 8 for their 1.5.0 JRE, and JRockit is still at update 6, which means that the class library bugs fixed in update 7 and 8 are still present in JRockit.
    Why does JRockit updates lag behind Sun's? Judging by [url http://forums.bea.com/bea/message.jspa?messageID=600038245&tstart=0]this post, this lag is measured in months!
    Doesn't the VM development happen separate from the class libraries? It should be possible to release a new JRE with the "stable", QA'd JRockit VM and the newest class library (with all its bug fixes) within a week or so, instead of months.

    The class libraries are almost identical, correct. But a JDK update from Sun almost always contains changes in other components than just the class libraries. Some of these affect JRockit, in particular the native libraries (AWT, I/O, etc). Changes in the class libraries may cause performance or stability regressions.
    With every release of JRockit we certify our JDK (Sun classes + JRockit JVM + other components) on a large number of platforms. We did a count earlier this year and came up with around 80 different combinations of JDK level, OS and hardware that we have to test in every release by the end of this year.
    On these platforms we run a huge set of tests, including performance and stress tests. Even though a large part of our QA is automated, it is simply not possible to run everything in parallel so there is a certain minimum amount of time this certification takes. On top of that we have a set of time-consuming tests that have to be run manually.
    To summarize it is simply not possible to do this without some lag. And JRockit has a much quicker uptake than almost all other 3rd party JDK providers (many of them with JVMs based on Sun HotSpot). One example is that it took IBM almost 18 months to get their first J2SE 5.0 implementation out of the door.

  • Why does my screen turn black when I play iTunes while working on iPhoto?

    Why does my screen turn black when I play ITunes while working on iPhoto? I can't click off of the screen but get a message that reads Shut down computer by pressing button in back then turn computer back on by pushing button in back. That's followed by Chinese letters (which I cannot read). I have had other problems when playing iTunes (actually, a radio station on the Internet) while working on  iPhoto. Before, I got a window that would pop up and tell me I had no disk space available, that I would have to quit applications that were open. Not many were open.
    It would be nice if I could solve this problem once and for all.
    Thanks in advance for all the suggestions. I truly appreciate your help.
    Jan

    That was easy. Thanks. Jan
    Interval Since Last Panic Report:  1949305 sec
    Panics Since Last Report:          1
    Thu Feb  6 15:29:32 2014
    panic(cpu 1 caller 0xffffff80002c4794): Kernel trap at 0xffffff7f81d89ff3, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0xffffff7acd4a2a7c, CR3: 0x0000000085d3b000, CR4: 0x0000000000000660
    RAX: 0xffffffff4bffff56, RBX: 0x0000000000000000, RCX: 0x0000000000000001, RDX: 0x0000000000000000
    RSP: 0xffffff807867b7c0, RBP: 0xffffff807867b800, RSI: 0xffffff7acd4a2a7c, RDI: 0xffffff8065292000
    R8:  0x0000000000000001, R9:  0x0000000000000000, R10: 0xffffff7f81d44200, R11: 0xffffff800f8b45e8
    R12: 0xffffff8065292000, R13: 0xffffff807867b860, R14: 0x0000000000000001, R15: 0xffffff7acd4a2a7c
    RFL: 0x0000000000010286, RIP: 0xffffff7f81d89ff3, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0xffffff7acd4a2a7c, Error code: 0x0000000000000000, Faulting CPU: 0x1
    Backtrace (CPU 1), Frame : Return Address
    0xffffff807867b470 : 0xffffff8000220792
    0xffffff807867b4f0 : 0xffffff80002c4794
    0xffffff807867b6a0 : 0xffffff80002da55d
    0xffffff807867b6c0 : 0xffffff7f81d89ff3
    0xffffff807867b800 : 0xffffff7f81d8a694
    0xffffff807867b890 : 0xffffff7f81d8b4ed
    0xffffff807867b8d0 : 0xffffff7f81d472a1
    0xffffff807867ba40 : 0xffffff7f81d8bd6d
    0xffffff807867bb00 : 0xffffff7f81d44346
    0xffffff807867bb60 : 0xffffff8000655f3e
    0xffffff807867bb80 : 0xffffff800065681a
    0xffffff807867bbe0 : 0xffffff8000656fbb
    0xffffff807867bd20 : 0xffffff80002a3f08
    0xffffff807867be20 : 0xffffff8000223096
    0xffffff807867be50 : 0xffffff80002148a9
    0xffffff807867beb0 : 0xffffff800021bbd8
    0xffffff807867bf10 : 0xffffff80002af140
    0xffffff807867bfb0 : 0xffffff80002dab5e
          Kernel Extensions in backtrace:
             com.apple.GeForce(7.3.2)[7E1D7726-416F-3716-ACCB-E1E276E35002]@0xffffff7f81d390 00->0xffffff7f81dfbfff
                dependency: com.apple.NVDAResman(7.3.2)[97284661-2629-379E-B86B-D388618E8C30]@0xffffff7f808 b0000
                dependency: com.apple.iokit.IONDRVSupport(2.3.4)[7C8672C4-8B0D-3CCF-A79A-23C62E90F895]@0xff ffff7f8089e000
                dependency: com.apple.iokit.IOPCIFamily(2.7)[5C23D598-58B2-3204-BC03-BC3C0F00BD32]@0xffffff 7f8082b000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[D0A1F6BD-E66E-3DD8-9913-A3AB8746F422]@0 xffffff7f80865000
    BSD process name corresponding to current thread: iPhoto
    Mac OS version:
    11G63
    Kernel version:
    Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
    Kernel UUID: FF3BB088-60A4-349C-92EA-CA649C698CE5
    System model name: iMac10,1 (Mac-F2268CC8)
    System uptime in nanoseconds: 11526391261403
    last loaded kext at 23020191300: com.apple.driver.AppleHWSensor    1.9.5d0 (addr 0xffffff7f8234b000, size 28672)
    last unloaded kext at 522057763087: com.apple.driver.AppleFileSystemDriver    13 (addr 0xffffff7f8254c000, size 12288)
    loaded kexts:
    com.apple.driver.AppleHWSensor    1.9.5d0
    com.apple.driver.AppleBluetoothMultitouch    70.12
    com.apple.filesystems.autofs    3.0
    com.apple.iokit.IOBluetoothSerialManager    4.0.8f17
    com.apple.driver.AudioAUUC    1.59
    com.apple.driver.AppleMikeyHIDDriver    122
    com.apple.driver.AppleHDA    2.2.5a5
    com.apple.driver.AppleUpstreamUserClient    3.5.9
    com.apple.driver.AppleMikeyDriver    2.2.5a5
    com.apple.driver.AppleBacklight    170.2.2
    com.apple.driver.AppleMCCSControl    1.0.33
    com.apple.driver.AppleLPC    1.6.0
    com.apple.driver.AGPM    100.12.75
    com.apple.iokit.IOUserEthernet    1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X    7.0.0
    com.apple.driver.AudioIPCDriver    1.2.3
    com.apple.driver.ApplePolicyControl    3.1.33
    com.apple.GeForce    7.3.2
    com.apple.driver.ACPI_SMC_PlatformPlugin    5.0.0d8
    com.apple.driver.BroadcomUSBBluetoothHCIController    4.0.8f17
    com.apple.driver.AppleUSBCardReader    3.0.6
    com.apple.driver.AppleIRController    312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    33
    com.apple.iokit.SCSITaskUserClient    3.2.1
    com.apple.iokit.IOAHCISerialATAPI    2.0.3
    com.apple.driver.XsanFilter    404
    com.apple.iokit.IOAHCIBlockStorage    2.1.0
    com.apple.driver.AppleRTC    1.5
    com.apple.driver.AppleFWOHCI    4.9.0
    com.apple.driver.AirPort.Atheros40    505.67.1
    com.apple.driver.AppleAHCIPort    2.3.1
    com.apple.nvenet    2.0.17
    com.apple.driver.AppleUSBHub    5.1.0
    com.apple.driver.AppleUSBEHCI    5.1.0
    com.apple.driver.AppleUSBOHCI    5.1.0
    com.apple.driver.AppleEFINVRAM    1.6.1
    com.apple.driver.AppleHPET    1.7
    com.apple.driver.AppleACPIButtons    1.5
    com.apple.driver.AppleSMBIOS    1.9
    com.apple.driver.AppleACPIEC    1.5
    com.apple.driver.AppleAPIC    1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient    195.0.0
    com.apple.nke.applicationfirewall    3.2.30
    com.apple.security.quarantine    1.4
    com.apple.security.TMSafetyNet    8
    com.apple.driver.AppleIntelCPUPowerManagement    195.0.0
    com.apple.driver.AppleMultitouchDriver    231.4
    com.apple.driver.IOBluetoothHIDDriver    4.0.8f17
    com.apple.kext.triggers    1.0
    com.apple.iokit.IOSerialFamily    10.0.5
    com.apple.driver.DspFuncLib    2.2.5a5
    com.apple.driver.AppleBacklightExpert    1.0.4
    com.apple.driver.AppleSMBusController    1.0.10d0
    com.apple.driver.AppleSMBusPCI    1.0.10d0
    com.apple.iokit.IOSurface    80.0.2
    com.apple.iokit.IOAudioFamily    1.8.6fc18
    com.apple.kext.OSvKernDSPLib    1.3
    com.apple.driver.AppleGraphicsControl    3.1.33
    com.apple.driver.AppleHDAController    2.2.5a5
    com.apple.iokit.IOHDAFamily    2.2.5a5
    com.apple.nvidia.nv50hal    7.3.2
    com.apple.NVDAResman    7.3.2
    com.apple.iokit.IONDRVSupport    2.3.4
    com.apple.iokit.IOGraphicsFamily    2.3.4
    com.apple.iokit.IOFireWireIP    2.2.5
    com.apple.driver.IOPlatformPluginLegacy    5.0.0d8
    com.apple.driver.IOPlatformPluginFamily    5.1.1d6
    com.apple.driver.AppleSMC    3.1.3d10
    com.apple.driver.AppleUSBBluetoothHCIController    4.0.8f17
    com.apple.iokit.IOBluetoothFamily    4.0.8f17
    com.apple.iokit.IOSCSIBlockCommandsDevice    3.2.1
    com.apple.iokit.IOUSBMassStorageClass    3.0.3
    com.apple.iokit.IOUSBHIDDriver    5.0.0
    com.apple.driver.AppleUSBMergeNub    5.1.0
    com.apple.driver.AppleUSBComposite    5.0.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.2.1
    com.apple.iokit.IOBDStorageFamily    1.7
    com.apple.iokit.IODVDStorageFamily    1.7.1
    com.apple.iokit.IOCDStorageFamily    1.7.1
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.2.1
    com.apple.iokit.IOFireWireFamily    4.4.8
    com.apple.iokit.IO80211Family    420.3
    com.apple.iokit.IOAHCIFamily    2.0.8
    com.apple.iokit.IONetworkingFamily    2.1
    com.apple.iokit.IOUSBUserClient    5.0.0
    com.apple.iokit.IOUSBFamily    5.1.0
    com.apple.driver.NVSMU    2.2.9
    com.apple.iokit.IOHIDFamily    1.7.1
    com.apple.driver.AppleEFIRuntime    1.6.1
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    177.11
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.driver.DiskImages    331.7
    com.apple.iokit.IOStorageFamily    1.7.2
    com.apple.driver.AppleKeyStore    28.18
    com.apple.driver.AppleACPIPlatform    1.5
    com.apple.iokit.IOPCIFamily    2.7
    com.apple.iokit.IOACPIFamily    1.4
    System Profile:
    Model: iMac10,1, BootROM IM101.00CC.B00, 2 processors, Intel Core 2 Duo, 3.06 GHz, 4 GB, SMC 1.52f9
    Graphics: NVIDIA GeForce 9400, NVIDIA GeForce 9400, PCI, 256 MB
    Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334548312D4346382020
    Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334548312D4346382020
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.67.5-P2P
    Bluetooth: Version 4.0.8f17, 2 service, 18 devices, 1 incoming serial ports
    Serial ATA Device: ST3500418ASQ, 500.11 GB
    Serial ATA Device: HL-DT-ST DVDRW  GA11N
    USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0x24400000 / 2
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26500000 / 3
    USB Device: USB2.0 Hub, 0x05e3  (Genesys Logic, Inc.), 0x0608, 0x26200000 / 2
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x04500000 / 2
    USB Device: Hub in Apple Extended USB Keyboard, apple_vendor_id, 0x1003, 0x06400000 / 3
    USB Device: Apple Extended USB Keyboard, apple_vendor_id, 0x020b, 0x06430000 / 4
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0x06110000 / 6

  • Why does a DVI or VGA look better than HDMI for 2nd Monitor

    Why does a DVI or VGA connection for a program monitor look better than HDMI. I've tested this on several systems with CS5x and CS6. The full screen output from premiere definitely looks worse with HDMI.
    I can often see visual differences with the Windows GUI as well, over sharpening of text and lines, harsh rendering of gradients. It looks like a VGA signal displayed on a television.
    I've looked at the NVidia stetting and it appears to be set to 1920x1080 at 60hz either way, DVI or HDMI. On one Acer 20 inch monitor the was VGA, HDMI, Composite, Component, and Digital Tuner, but no DVI. The program monitor has always looked blah from the HDMI. So I recently switched the connection to a DVI to VGA adaptor, and now the video looks so much better.
    Any thoughts or explanations?

    Just because the monitors accept a 1080P signal doesn't mean their native resolution is 1920x1080. At 20 inch they very likely can scale that signal down to the native resolution of the panel which may be 1600 x 900 or another resolution that is 16 x 9 resolution. That scaling can be done by the GPU or firmware on the Monitor depending on the video driver options and the firmware options. That scaling is also the most common cause to text and icon blurriness you are talking about. As an example there are Pro monitors that accept a 4K signal but scale it down to 2.5K or 2K on the actual panel. You might try going into your video card settings such as Nvidia control panel and look for the scaling options. Select GPU scaling and see if the preview is better. If that doesn't work select no scaling and see if it's better if the monitor firmware handles the scaling.
    Eric
    ADK

  • One JNLP with different JARs depending on JRE version

    Hello everybody! I want to produce one JNLP file that, depending on the user's Java version, loads a particular JAR or not. As an example, Java Activation Framework is included with Java 6 (no download needed), but not with Java 5. This serves just as an example, as that particular library is very small. Still, a user with Java 5 needs to retrieve and load "activation.jar", but Java 6 users might be better of with their built-in version. I know that I can mark the whole JNLP for a particular version (<java>) and that I can make a resource depend on "osName" and "arch". Does anyone know whether such a JDK-dependent resource (or JAR) is possible with JNLP syntax?
    Alternatively, I can programmatically download the library, but loading it is cumbersome: I just want to use JavaMail (which needs the Activation Framework) right away, it seems to me that with a custom URLClassLoader I cannot access the library directly (as I need classpath-like access to the Activation Framework)... and I'm hesitant to hack into Reflection as mentioned here.
    I'll just provide activation.jar for all of my users, including Java 6 ones; but I'm curious what would be the best way to handle such a situation. I did search the web and the forums a lot, sorry if I missed something obvious.

    Sorry, you meant two <resources> in the same JNLP? I can't put "activation.jar" in the same JNLP than the rest of my application, because it's already signed by Sun, but I did try to have in "activation.jnlp" two <resources>, an empty one for version 1.6+ and the JAR in the second one for "1.5". Didn't work either, the JAR gets downloaded.
    Same thing for several <resources> in the main JNLP, one for "1.5" including the extension for activation.jar, the other for "1.6+" listing the same contents but without that extension. No matter how I try, I get the console message "JNLP JREDesc in Component ignored". (If I just include everything in one single resource for "1.5+", I don't get that error, so it's not a typo in the <j2se> tag ;-)
    Edited by: cato_minor on Mar 26, 2009 12:00 PM

  • Why does captivate 5 scorm 2004 change the pass/fail status when using complete/incomplete

    SUMMARY:  I am trying to use SCORM 2004 reporting but I am finding out ADOBE does not diffentiate between COMPLETE/INCOMPLETED and PASSED/FAILED variables in the SCORM 2004.
    RESULT: I can not accurately get the passing/failing status from the course.
    QUESTION: Is their anything I can do or does ADOBE have a patch they have release which will accurately report the passed/failed STATUS as well as the completed/incompleted status.
    OTHER RESEARCH: I even attempted to post these "proofs" on scorm.com and they have something called "SATISFACTION TRACKED" to accomodate content creation systems (CAPTIVATE 5) which does not follow the standards of SCORM 2004.
    BACKGROUND:  the report status "Incomplete/Complete" and "Pass/Fail" under the publishing options for SCORM 2004 essentially mean the same thing when the CAPTIVATE COURSE sends setvar commands to the SCORM API...  In other words the SCORM API receives the same exact commands when publishing in both modes.  "THIS IS WRONG"
    why is the wrong?  IF REPORTING; incomplete/complete ;  the CAPTIVATE 5 COURSE SHOULD NOT "change" the STATUS OF PASS/FAIL when attempting to report COMPLETE/INCOMLETE with 100% slide views.
    DEMO #3> SHOWS THE PROBLEM
    About DEMO #1 and DEMO #2> these are other reporting options I attempted with other problems arrising..so these images are just for supporting my original problem which is shown in DEMO #3...
    DEMO 1 (REPORT STATUS has no affect on reporting):SETTINGS:
    PASS: (PROBLEM)
    Anything above Passing Score is not recorded to LMS (once passing is reached...no more bookmarks are recorded)
    FAIL: (CORRECT)
    Failure gets sent to the database on the last screen with "completed"
    DEMO 2 (Report status  [Complete/Incomplete  Pass/Fail]   has no impact on commands sent to scorm api):
    SETTINGS:
    PASS: (CORRECT)
    Very Last page gets sent to the Database
    FAIL: (PROBLEM)
    NOTHING GETS SENT TO DATABASE (stuck in final score screen forever)...because it says "INCOMPLETE"
    DEMO 3:
    Report status [Complete/Incomplete Pass/Fail] has no impact on commands sent to scorm api
    SETTINGS:
    PASS: (CORRECT)
    Very Last page gets sent to the Database with a 90% passing with "completed"
    FAIL: (PROBLEM)
    LAST SLIDE SENDS "completed" but GETS SENT AS A PASSING SCORE??? even when it is a failure
    (IN OTHER WORDS ADOBE CHANGES THE PASS/FAIL STATUS based on slide views...
    this is WRONG ....REALLY WRONG becuase I am trying to report
    "COMPLETE/INCOMPLETE" for 100% slide views
    PASS/FAIL OPTIONS:
    OPTION I CAN PURSUE?
    SO WHAT CAN I DO?  YES, I CAN TELL THE LMS...to COMPARE THE SCORE RECEIVED DURING A "COMPLETE" status...and then change the grade in the LMS based on the SCORE IN THE LMS...BUT THAT WOULD MEAN THE LMS COULD REPORT ONE GRADE and the COURSE COULD REPORT A DIFFERENT GRADE....and that would not be good.
    ALL OF OUR COURSES SHOW THE STUDENT THE FINAL SCORE WITHIN EACH COURSE..
    QUESTION TO ADOBE?
    SO ADOBE when are you going to differentiate these two reporting options so that the PASS/FAIL OPTIONS ARE ACCURATELY REPORTED WHEN USING COMPLETE/INCOMPLETE?
    MORE INFORMATION
    HERE IS THE SCORM.COM "Satisfaction" adjustment (very last line) to accomodate inconsistent reporting in CAPTIVATE 5.
    Thanks,
    DOUG LUBEY OF LOUISIANA
    www.douglubey.com
    OTHER WEBSITES:
    http://forums.adobe.com/message/3332035
    http://forums.adobe.com/message/3122315
    http://forums.adobe.com/thread/712502?start=50&tstart=0
    http://forums.adobe.com/thread/800570
    http://forums.adobe.com/thread/720121
    SEARCH ENGINE REFERENCE:
    CAPTIVATE SCORM SUCCESS_STATUS
    captivate 5 scorm 2004 pass/fail is dependent on complete/incomplete
    scorm 2004 captivate cs5 success_status incorrect
    scorm 2004 captivate cs5 reports success_status incorrectly
    scorm 2004 captivate incorrectly reports pass/fail
    scorm 2004 captivate 5 incorrectly reports pass/fail
    scorm 2004 "captivate 5" incorrectly reports pass/fail
    captivate 5 sends a pass even when a failure is issued by the course using scorm 2004.
    captivate does not work properly when working with completed status.
    CAPTIVATE SCORM SUCCESS_STATUS COMPLETE STATUS SHOULD BE INDEPENDENT
    CAPTIvATE 5 cmi.completion_status
    and cmi.success_status does not work independently with scorm 2004.  they both share the same definition.  These two field were designed to help differentiate the difference between a passing or failing score and when the course is actually completed.   WITH CAPTIVATE 5 they do not differentiate the two.  COMPLETE means PASS and INCOMPLETE means fail..
    I was trying to use "completion_status" as a way to determine when all slides were shown.  So that I can send the final score (PASS/FAIL) the LMS after all slides were viewed and this was the absoluted score the student recieved.
    2011 CAPTIVATE CHANGES cmi.success_status TO PASSING WHEN COURSE REPORTS FAILURE
    2010 CAPTIVATE CHANGES SUCCESS TO PASSED WHEN COURSE REPORTS FAILURE
    CAPTIVATE 5 CHANGES cmi.success_status TO PASSING
    CAPTIVATE 5 CHANGES cmi.success_status TO PASSING WHEN COURSE REPORTS FAILURE
    CPTX CAPTIVATE CHANGES cmi.success_status TO PASSING
    CP5 WHY DOES CAPTIVATE SCORM SUCCESS_STATUS
    CPTX WHY DOES CAPTIVATE CHANGE PASSING STATUS
    CPTX CAPTIVATE SCORM CHANGES FAILING SCORE TO PASSING SCORE
    CAPTIVATE SCORM SUCCESS_STATUS COMPLETE STATUS MEANS THE SAME THING
    CAPTIVATE SCORM SUCCESS_STATUS COMPLETE STATUS SHOULD BE INDEPENDENT

    Hi,
    Here's something I found in a similar situation... hope this helps!
    After publishing your CP5 project as a SCORM 2004 zip file, unzip the file so you can get into the separate files.  Open the imsmanifest.xml file with a text editor; I like using Notepad++.  Search for the line starting with <imsss:minNormalizedMeasure>.  The complete line will probably look like <imss:minNormalizedMeasure></imss:minNormalizedMeasure>, this is the line that is supposed to contain your passing score (at least for our LMS).  So, if your passing score is supposed to be 80%, edit this line to be:  <imsss:minNormalizedMeasure>0.80</imsss:minNormalizedMeasure> and save the file.  Then select all the files and re-zip them, I use 7-zip for that.
    I found one other weird thing that doesn't happen 100% of the time, so test it.  In the example above, try to get a score of exactly 80% (or whatever passing grade you are using) and see if you get the correct status reported.  I found I sometimes have to re-edit that line in the manifest file to be 0.79 so it correctly includes an exact 80% score.  No idea why and you have to watch the number of questions in your quiz to make sure that works for you mathematically.
    If this works or not, I'd recommend posting your results so others can get some ideas.  Good Luck!!

  • Getting this error :NB: JAVA_HOME should point to a JDK not a JRE

    HI All
    I've installed jdk1.5.0_06 in windows enviroment.i've correctly set the java_home path for it.
    Apart from it i've installed two servers one is Weblogic 9.1 and Tomcat 5.5 and NetBeans 5.5.1.
    While running my project with the netbeans it tried to start the server. On starting the Tomcat server it showed me this error in the Tomcat log.
    NB: JAVA_HOME should point to a JDK not a JRE
    but while running Weblogic it worked smoothly. the java_home path has both the paths of jdk1.5 (installed separatly ) and the one which is bundeled with weblogic(jdk1.5)
    Could anyone tell me the solution for the error.while running the project sseparatly is working fine. but i am not able to run it from NetBeans.

    By why it is so that we bin folder was not selected,
    because when i earlier installed weblogic then at
    that time weblogic automatically made this entry
    using its own internal jdk and the path was till bin.A JAVA_HOME directory should point to a directory containing all the java related stuff. The bin part is appended while executing javac or java command. Weblogic might be using the JAVA_HOME variable differently.

  • Why does location services not work on my ipad2 with ios7?

    Why does my wifi only iPad 2 location serves not work...worked for years, even when I traveled extensively and returned home. I loaded ios7plus and went out West for the holidays.  Worked out West and on return, did not...live in country and worked when I took it to Mickey d's six miles away.  Only change is ios7 and it's default to Apple maps.  Apple support claimed to have passed this to engineering, but despite my follow ups with them using my case number, they have left me in limbo with a silent phone.  This is very wrong and not the apple I have known...very frustrated.

    Cause Wi-Fi only iPads do not have GPS receivers in them, nor can they use the cell towers for triangulating position. Best they can do is guesstimate based on the hotspots they are connecting to. They base their guess on a database of known hotspots, which can be incomplete, erroneous or wildly inaccurate. The  rise of the problem can be due to any change you or your ISP has done to the Wi-Fi setup you use.
    If you need to depend on critical apps that require reliable Location Services, get Wi-Fi+Cell devices next time. They can be used without a SIM chip with no problems (and not paying for cell charges), but GPS will work fine.

  • Why does an email sent from an iPad or iPhone to ms outlook appear with attachments? Example signatures tend to be broken down into a series of unwanted attachments!

    Why does an email sent from an iPad or iPhone to ms outlook appear with attachments? Example: signatures at the bottom of the mail tend to be broken down into a series of unwanted attachments!

    It worked for me. I took a picture with the iPhone's camera. Then opened the Photos app and selected the picture, and emailed it from one of my IMAP accounts to my gmail (also IMAP) account. When it showed up in the gmail inbox (on my iPhone), I forwarded it to my yahoo mail account (choosing the "inlcude attachments" option). When that showed up on my iPhone's yahoo inbox, the picture was there just as it should be.
    So I guess the next thing would be to try it with non-iPhone pictures to see if it is a problem with image size or something. I have some 6-megapixel images in iPhoto I can try (taken as RAW/DEC format pictures with my dSLR).
    Just tried it sending a Photo from my computer's iPhoto library - picture is 728KB, 2272x1704 jpeg. I emailed it to my gmail account, and it showed up on the iPhone just fine. Then I forwarded that to my yahoo account and again, it showed up just fine on both the iPhone and reading my yahoo mail via the web page.
    Don't know what to say - I don't mean this to be just another "works for me" post. I was hoping to see something maybe depending on the size and origin of the picture.
    By the way, my 3GS shipped with 3.0.1 on it, and I've updated it via iTunes normally to 3.1.1 and currently 3.1.2. Sorry I don't have anything constructive to add.

  • Why does ppi matter for web images?

    Hello
    When placing an image in my (web/pixel) project the resolution is dependent from the set ppi.
    When I create a new document for web, then logically only the pixels matter. Nonetheless there's a ppi field, why? And depending what value it has, placed pictures (file > place or drag&drop from Windows' explorer) get resized instead of the wanted 1:1 resolution.
    1 pixel should remain 1 pixel when working with in pixels.
    Try it out:
    Create a new document with Full HD resolution (1920x1080 pixels), set ppi to 10.
    Import a Full HD picture (Blu-Ray screenshot whatever) and it's mini-sized.
    My screen resolution is 59 ppi (I use my 39" TV as monitor) and this is set in the Photoshop preferences (in case I do some print stuff that I get a 1:1 view if wanted). If there was any logic behind the pixel-ppi-placing thing, then this set standard monitor ppi should bring me a 100% sized picture... but it doesn't. Only when the ppi is set to the fantasy value of 72 I get a 100% sized placing.
    This can be disturbing and is very annoying when starting a new project by opening an image that does not come with 72 ppi by default (my Canon camera makes 180 ppi JPEG photos)  and placing new pictures in this project. They get opened in wrong sizes, in my case largely upscaled, with no way to correct it but guess-scaling it down.
    Bug?
    Pls pls fix it.
    Ppi has nothing lost in pixels-only projects.
    The only way that works is to open all single images in Photoshop as tabs, and then drag&drop from within Ps. -.-
    Regards
    Mopsi
    Example screenshot: http://www.m-i-u.de/images-i83580bxvogj.jpg
    The yellow framed layer is a image from my camera, opened in Photoshop CS6 extended. 3264x2448 pixels (180 ppi).
    The green framed layer is a screenshot from a movie, drag&drop from the explorer. 1920x1080 (normally) unwanted upscaled here.
    The red framed layer is a screensot as well, but drag&dropped from a tab within Photoshop. It remains in its original resolution of 1920x1080.

    I'm wrong and your right. I just did some testing and Photoshop does indeed interpolate the lower resolution 600x400 72DPI image is  up size to match the higher resolution document document size during the place process. I just assumed Photoshop would preserve image quality and not interpolate the image.    As you have shown it does interpolate the image which greatly lowers the image quality of re-sized low resolution image.
    This shows you should not use Photoshop to merge images into a composite if they have greatly different resolutions.  I don't have a problem there for I never use "save for web" to save images to be displayed on displays from the web or my machine.  I use Fit Image and save as, or a Image Processor script that uses Fit Image to re-size and uses save as.  The leave all my images files resolution setting unchanged.   For some reason Save for Web changes all jpeg files it saves resolution  setting to 72 DPI even if they are 8MP images for high resolution displays..
    During testing I also tried using Photoshop's script Load Files into Stack instead of using Place.  That script works the way I assumed Photoshop Place would work.  Images layer are not interpolated they remain the correct number of pixels and the image quality is not is not changed.. The image layer are normal layers but can be converted to smart object layers however the object would be normal layer not an image file.
    When you use Place you get
    It also possible to undo Photoshop's Place scaling with a simple calculation.  Divide the image layer's original dpi by the document's dpi here there are three layer that did not start at 300dpi. two started out as 74dpi image file the other a 500dpi image file.  72/300=.24 = 24% the other 500/300=1.66666 = 166.66%
    all you need do is change the associated layer's image transform width and height scale from 100% to the calculated percents
    The only time I set document to 72DPI resolution is in Photoshop Scripts so I can calculate a font size  for a charter sting so it will fit the canvas size.  Photoshop Text Tools seem to be tied to 72DPI resolution.  Once I add the text layer I restore the document DPI resolution back to its original setting.
    So when it comes to Photoshop all files use in a project should have identical DPI resolution for best result when making composites.    My image files are either RAW files which have no DPI for they are not RGB image files. Or RGB Image files that have a high DPI resolution. I process images for print. Image files DPI resolution is meaningless when if comes to Display Screens.  All that matters is the number of pixels a display can display and the number of pixels in the image. Even images I re-size for display screens DPI are high for I do not use "Save for Web". I see no good reason to strip metadata and change resolution to 72DPI.  I tend not to interpolate image except the ones I save to be displayed on a display.  I change Print size by changing the DPI setting without resample.  My Epson 4800 inkjet printer has no problem printing high resolution pixel I see no reason resample my camera 16MP image down in size just to print at 300dpi.  If I want to a single 6"x4" print I see nothing wrong printing it at 816DPI.  My eyes can not resolve down there the printer can.  However when Printing on Roll Paper many 6"x4"  the composite document I create via a script has a 300DPI resolution and the image layers are resized to be 6" x 4".

  • Why does it take 3 hrs to download an update on high speed internet

    Okay so i have a good fast provider on high speed internet but when i seem to download updates on my macbrook pro it takes awhile for it to download. On average its been about 2 hrs longest 4.. Now for example i have app store updating an app which size is about 1.34 gb i starts out at 30 min and then just skyrockets from there. And if i amlooking at it as in the screen is open to the app store update page it takes long but omce i change screens it goes feom 3 hrs to under an hour. I dont if its just me but why does it seem to not be able to multitask? Am i missing something here. I have a 3 year old hp with faster processing capabilities. Please help out. Some one

    Sometimes it doesn't really depend on your ISP download speed, it depends on how busy the developer's servers might be. For instance, last night I downloaded an 800+MB file from the Apple Developers website. What usually takes less than 30-40 minutes took over 3 hours because so many people were hitting the servers and the same files at the same time.
    So if your download speed is fast via your ISP, remember that things on the server side may be slow or busy: and that's going to take additional time to download.
    Just curious as to what your download speed actually is and what size the files were that you're trying to download?
    Clinton

Maybe you are looking for

  • Why are some of my recurring events not synching with my calendar on my ipad2?, Why are some of my recurring events not synching with my calendar on my ipad2?

    I use multiple calendars and one of them includes all my recurring events such as birthdays, anniversaries, etc. That calendar shows as included in my iCloud and it seems that all of the events synch with my iPhone, but very few of the recurring even

  • User exit for MD01

    Hii I am doing user exit for MD01 i am finding difficulty in writing the code . I want materials haveing MRP Type : 'V1'. I wrote code for it but its not working .. TABLES: t024d, mara, marc . TABLES : t023t. DATA: v_dispo TYPE dispo, v_matkl TYPE ma

  • Query problem, no data exist

    Dear Experts, My user would like to combine data from FBl3N (field BUDAT, amount in document currency, amount in local currency , reference document) with data taken from Billing (VF03- FKDAT, BUDAT, VBELN, CHARG, MATNR, ARKTX). I have created a quer

  • Doc attachment to INSPECTION LOT

    i want to attach a doc to inspection lot, as per std sap, inspection lot is not an object link. if i want an attachment, wht i have to do?  is it a development? i have to develop a object link "inspection lot"? and develope a screen? how to do? wht a

  • Ruler tool in CS6

    In CS5 to straighten the picture you chose Ruler draw a line, press straighten and the job was done, in CS6 this does not happen, you have to choose the crop tool to finish the job, double the work.