AWTPermission "accessClipboard" issue in JRE 1.6.0_07

Is AWTPermission check of "accessClipboard" removed from Java Applet AWTEvent event processing in JRE 1.6.0_07?
In JRE 1.6.0_07, I can now copy from JTextArea to system clipboard, without signing the applet and without granting the AWTPermission "accessClipboard" in java.policy.
In JRE 1.6.0_04, it didn’t allow copy unless you sign the jar or grant the permission.
Is this a security bug in JRE 1.6.0_07? Or is it a new feature?
My second question is about EventQueue class. I used the following code to subclass EventQueue and register it to Event stack.
In JRE 1.6.0_07, this code doesn’t allow copy from JTextArea to system clipboard unless I sign the jar or grant the "accessClipboard" permission in java.policy.
Is this expected? Is there any way to get around jar signing or granting permission?
Thanks in advance
class MyEQ extends EventQueue {
  protected void register (){
    Toolkit.getDefaultToolkit().getSystemEventQueue().push(this);
  protected void dispatchEvent(AWTEvent e) {
    doProcess(e);
    super.dispatchEvent(e);
  private void doProcess(AWTEvent e) {
}

Reposted in the AWT forum.
[http://forums.sun.com/thread.jspa?threadID=5334933]

Similar Messages

  • Applet crashes in MAC OS X 10.7.4 with JRE 1.7.0_07 while printing

    Our appplication uses the java applet to print the application data to default printer. We recommended our consumer to install latest jre (1.7.0_07) to run applet from our site.
    Since then we are facing issues in MAC OS X 10.7.3 and above. The applet crashes and throws following error in MAC console. There was no error in application or java console.
    We uninstalled java 1.7.0.0_07 and restore the apple recommended java 1.6.0_35. After that the applet works fine(java 1.6.0_35) to print the applciation data in MAC OS X 10.7.4.
    The browser pops up with error message says "Error While Printing"
    Application Specific Information:
    objc[2508]: garbage collection is OFF
    *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.'
    *** First throw call stack:
         0 CoreFoundation 0x00007fff8a835f56 __exceptionPreprocess + 198
         1 libobjc.A.dylib 0x00007fff90651d5e objc_exception_throw + 43
         2 CoreFoundation 0x00007fff8a835d8a +[NSException raise:format:arguments:] + 106
         3 CoreFoundation 0x00007fff8a835d14 +[NSException raise:format:] + 116
         4 AppKit 0x00007fff9577547f -[NSPrintSpoolingGraphicsContext endDocument] + 177
         5 AppKit 0x00007fff95775795 -[NSPrintSpoolingGraphicsContext dealloc] + 42
         6 libobjc.A.dylib 0x00007fff9064a03c ZN12GLOBAL__N_119AutoreleasePoolPage3popEPv + 434
         7 CoreFoundation 0x00007fff8a7c3915 _CFAutoreleasePoolPop + 37
         8 liblwawt.dylib 0x000000010c74b8db Java_sun_lwawt_macosx_CPrinterJob_printLoop + 165
         9 ??? 0x000000010312af90 0x0 + 4346523536
         10 ??? 0x000000010311f450 0x0 + 4346475600
         11 ??? 0x000000010311f158 0x0 + 4346474840
         12 ??? 0x000000010311f158 0x0 + 4346474840
    Are there any issues with MAC 10.7.3 and above with applet running in jre 1.7.0_07 to print the data to printer?

    Step one is to ensure that you have a bootable backup/clone or a verified Time Machine backup of 10.7.3.
    Step two is to manually download and install the 10.7.3 COMBO update.
    Step three, if these are successful, is to manually download and install the 10.7.4 COMBO update, repair permissions, and restart.
    These should fix the problem with the installer. As for the games, i've not a clue since I don't run any on my computers.

  • Sending "Cookie" header  with JRE 1.5.0_07 doesn't work with JWS

    Hi
    I have a JWS application that runs from JRE 1.4.0_XX to JRE 1.5.0_06
    The app sends a "Cookie" header to our webserver
    HttpURLConnection tc = (HttpURLConnection)repository.openConnection();
    tc.setRequestProperty("Cookie", "GLINK=TOKENID");
    Now this has worked thru 20 different runtime versions since 1.4.0_xx until JRE 1.5.0_07 was released. My code has remained unchanged for 3 years. And with JRE 1.5.0_07 the "Cookie" header is simply gone in the webserver or never sent at all. The changelog for 1.5.0_07 only has a rough description of what has changed. I can see that SUN has made som changes to class HttpUrlConnection in 1.5.0_07 by comparing class files against 1.5.0_06 and apparently disturbed som funtionality that worked before. Other headers are received but not the "Cookie" header. If the application is executed without JWS, for example with Eclipse or Jbuilder, the "Cookie" header is received by the web server and all other headers as well.
    Any ideas what SUN has done in 1.5.0_07 and JWS ?? and more specifically in class URLConnection or HttpURLConnection.
    Here is some code example to test the issue:
    Run this code with and without Java Web Start
    With JWS, the "Cookie" header is never received by the server.
    without JWS, the header value is reveived.
    import java.net.*;
    import java.io.*;
    public class HTTPTest
    public static byte[] crLfArr = {13,10};
    public static String contenttype_ = "text/plain";
    public static BufferedReader retval = null;
    public static void main(String[] args) throws IOException
    int tecken = (int)'X';
    String boundary = "12345xyzzy";
    URL repository = new URL("http://myserver");
    URLConnection tc = (URLConnection)repository.openConnection();
    tc.setDoOutput(true);
    tc.setDoInput(true);
    tc.setAllowUserInteraction(false);
    tc.setRequestProperty("Content-Type"," multipart/form-data; boundary=" + boundary);
    tc.setRequestProperty("Cookie", "GLINK=TOKENID");
    OutputStream out = tc.getOutputStream();
    printPartHeader(out, boundary, "filtag" , "filnamn");
    out.write(tecken);
    printEndBoundary(out,boundary);
    out.close();
    retval = new BufferedReader(new InputStreamReader(tc.getInputStream()));
    public static void printEndBoundary(OutputStream out, String boundary) throws IOException
    String str;
    str = "--" + boundary + "--";
    out.write(str.getBytes());
    out.write(crLfArr);
    out.write(crLfArr);
    public static void printPartHeader(OutputStream out,
    String boundary,
    String field,
    String filename) throws IOException
    String str;
    printBoundary(out,boundary);
    str = "Content-Disposition: form-data; name=\"" + field + "\"";
    out.write(str.getBytes());
    if (filename.length() > 0) {
    str = "; filename=\"" + filename + "\"";
    out.write(str.getBytes());
    out.write(crLfArr);
    str = "Content-Type: " + contenttype_;
    out.write(str.getBytes());
    out.write(crLfArr);
    out.write(crLfArr);
    public static void printBoundary(OutputStream out, String boundary) throws IOException
    String str;
    str = "--" + boundary;
    out.write(str.getBytes());
    out.write(crLfArr);
    Regards
    Jojje

    Hi,
    I decompiled the HttpURLConnection implementation in question from the rt.jar file. I do not think that you can find the source code for these SUN-specific implementations anywhere (except maybe through the new Java 6.0 collaboration process).
    JAD did the trick.
    For the standard classes (packages java.*, javax.*), I think that the most current source code is included in the corresponding JDK download.
    As to the JWS vs. standalone effect, I do not know what happens there.
    Maybe Java uses a different HttpURLConnection implementation when running as a standalone application?
    For our applet, the problem is definitely there. The cookie header was set but already removed when the CookieHandler method was called.
    The trouble is, that our applet can operate multiple independent sessions (with different session-ids), so a global CookieHandler is not an option. The only reason why I previously had to implement my own CookieHandler implementation in 1.5 was in order to remove unwanted Cookies which were otherwise inherited from the browser session by the CookieHandler�s applet default implementation.
    I also entered a bug report (on Wednesday already)...
    regards,
    Gunnar

  • How to set JRE 1.5.0_07 as default Java from the cmd line in Windows

    Hi All,
    We are currently in the process of upgrading our company to IE8. As MS JVM is incompatible we need to remove it.
    However, once we have done this JRE 1.5.0_07 is not the default version of Java any more for IE8.
    My question is - Is there a command line switch to set set JRE 1.5.0_07 as default Java from the cmd line in Windows. ie the setting in Java Control panel where you would tick Internet Explorer?
    Thanks in advance!

    This is to confirm a similar issue. Here is the scenario:
    We are currently using IE 6 and looking forward to upgrade to IE 8. Our current Java version is: J2RE 1.5.0_16.
    When updating from IE 6 to IE 8 with J2RE 1.5.0_16 on a test workstation, we get the following error from the Java testing website (http://www.java.com/en/download/help/testvm.xml): "load: class testvm2/Main.class not found."
    Workaround :
    -> Change Java JRE Network Settings in Control Panel to "User proxy server : xxx.xxx.xxx.xxx:xx"
    We are using an autoconfig.pac file and it seems IE8 can't parse the settings to JRE to go through the proxy.
    Please advise if you have a fix for the autoconfig.pac file.

  • Installation issues with JRE, Auto Update, win 2008 and terminal services

    Hello,
    We have seven Windows 2008 servers running Terminal Services in one TS farm. I have approximately 600 users accessing these servers. We have a need for the Java JRE. The JRE is to be installed on each of the seven servers since the user has no input into which server they log on to (round robin / load balancing)
    There are several issues that have occurred with this installation. I install the JRE on each of the servers when there is no one logged on. I turn off both of the update features while installing as administrator. When the users log on, however they are at some point prompted for an admin password to update Java. The users have no need to update java as all updates will be performed by the system admin. Additionally, when the user runs any app that uses the Java plug-in, they get a folder put on their desktop labeled Sun.
    Are there special instructions for installing Java when using Terminal Services and Windows 2008? As you can well see, 600 calls to the help desk asking about this update popup is not productive and accessing 600 users accounts and turning off the auto update on an individual basis is not practical. The user cannot disable this update anyway. They options are grayed out at the user level.
    If this is not the proper forum to ask these question, please forward this message to the proper department or let me know who I should/could contact to resolve these issues.
    Best regards,
    Bob

    thomashmaine wrote:
    I mean to only explain 1 enviornment. We have a windows 2008 terminal server. It has JRE 1.6.0_07 (32bit) install on it. The users use this server for Office Apps and to Access our software which is web based and requires a JRE to be able to work.
    When the users login the terminal server picks up there local timezone from the machine they are logging in from and apply's it to there terminal server session. The problem is when the jre is launched it is picking up the server timezone, not the timezone from the users session(which is different).
    Does this clarify it?Nope.
    Either the user is running the jre or the server is. Or maybe both. Seems like all of those are possible from your explanation.
    It doesn't matter what the jre is running. What matters is who runs the jre.
    Best I can suppose your situation is as follows.
    - The server, not a user, is running a jre with one or more applications.
    - The users use something, probably a browser, to access that server app (it doesn't even matter that it is java in terms of what the users are doing.)
    If and only if that is your situation then you MUST pass information from the browser session to the server (java or anything else for that matter) and you MUST use that information in the server code to display time information.

  • Problem launching e-biz forms using Java JRE 1.6.0_07 and JRE 1.6.0_13

    Got a problem launching Forms from e-biz 11.5.10.2 using JRE 1.6.
    Our setup :
    E-biz: 11.5.10.2
    Forms: 6i Patchset 19
    DB: 10.2.0.3
    JRE: 1.6.0_07 (e-biz is config to use this version)
    on windows desktop clients:
    JRE: 1.6.0_13
    As a non-privileged user account on the workstation, users cannot launch the forms using the 1.6.0_13 JRE.
    When a privilieged(Admin) user account logs in, the forms launch fine using 1.6.0_13.
    We understand that IA enforces many policy settings in our environment, but can anyone identify which types of policy settings would break this access?
    Thanks everyone!
    Gabe

    Thanks for the docs! We've reviewed them, and are satisfied that the JRE family of 1.6 is working properly.
    Our issue is that there are some windows security policies/ maybe group policies, that are restricting the launching of the forms using the newer 1.6.0_13 JRE. This is what we are after, and I would like to know if anyone else has faced similar issue.
    Some more clarification:
    if the workstation has the 1.6.0_07 JRE, and a non-privileged account logs in, the forms launch fine.
    Once 1.6.0_13 is pushed (as our NetAdmin is requesting), the non-privileged account cannot launch forms. Instead, they get an active X request to install 1.6.0_07, which they do not have privilege to install.
    Hope this helps.
    Gabe

  • Any know issues for JRE 1.6 and BOXI 3.1

    Any know issues for JRE 1.6 and BOXI 3.1

    Our most stable JRE with which we've had best results has been JRE_1.6.0_07
    Hope this helps.

  • CORBA related issue in JRE 1.4.2_06

    Hi Experts,
    We have an application written in C and Java. Communication is handled by CORBA using ORB form JRE. JRE 1.4.2_06 is used.
    We're currently facing application hanging or crashing. Log files have the following exceptions:
    com.sun.corba.se.internal.iiop.ReaderThread(Thread[JavaIDL Reader for javatech.us.oracle.com:1079,5,ORB ThreadGroup]): Exception thrown while reading request: java.lang.OutOfMemoryError: unable to create new native thread
    java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start(Native Method)
    at com.sun.corba.se.internal.orbutil.ThreadPool.addWork(ThreadPool.java:181)
    at com.sun.corba.se.internal.iiop.MessageMediator.handleInput(MessageMediator.java:221)
    at com.sun.corba.se.internal.iiop.messages.RequestMessage_1_2.callback(RequestMessage_1_2.java:164)
    at com.sun.corba.se.internal.iiop.MessageMediator.processRequest(MessageMediator.java:142)
    at com.sun.corba.se.internal.iiop.IIOPConnection.processInput(IIOPConnection.java:336)
    at com.sun.corba.se.internal.iiop.ReaderThread.run(ReaderThread.java:60)
    Exception 50125 (org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
    at com.sun.corba.se.internal.iiop.IIOPConnection.sendWithoutLock(IIOPConnection.java:768)
    at com.sun.corba.se.internal.iiop.BufferManagerWriteStream.sendFragment(BufferManagerWriteStream.java:87)
    at com.sun.corba.se.internal.iiop.BufferManagerWriteStream.sendMessage(BufferManagerWriteStream.java:107)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(IIOPOutputStream.java:159)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(IIOPOutputStream.java:117)
    at com.sun.corba.se.internal.iiop.ClientRequestImpl.invoke(ClientRequestImpl.java:76)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:235)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:282)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    Exception 50125 (org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe
    at com.sun.corba.se.internal.iiop.IIOPConnection.purge_calls(IIOPConnection.java:438)
    at com.sun.corba.se.internal.iiop.ReaderThread.run(ReaderThread.java:70)
    If I use JRE 1.4.2_14, the situation improves.
    Any suggestions on where the problem might be?
    Thanks

    Hello, sorry to jump on this thread, but I am having a similar issue with version 1.4.2_08
    We have a site that checks the current version of java before trying to load an applet, and if the version is not 1.4.2-08 or higher it prompts them to install...
    j2re-1_4_2_08-windows-i586-p.exe
    I am having an issue on a few different computers where even after they install and reboot, it prompts them to install again.
    on the one I am currently working on, they have win98 IE6
    the advanced tab of internet options has selections for MS JIT Compiler, and sun java 1.5 but not 1.4.2_08
    none of these are checked currently...
    This customer had installed 1.4.2_08 from our site, and it dodnt work, so they installed 1.5 from the java website.
    I had them Uninstall everything that said java from add/remove programs (J2SE 5.0 and JRE 1.4.2_08), reboot, and when we came back to the site, it prompted to install again, so we did, only this time the installer prompted to "modify" or "remove"
    We tried Modify first, and rebooted, cand it didnt work, so we tried remove, reboot, and reinstalled again (this time it didnt have the modify option) but the site still wont pass the version check.
    at this point, the internet options still have options for Sun Java 1.5 (which isnt currently installed) and MS JIT Compiler (both unchecked)
    Our diagnostics site reports thier version of java as MS 1.1 (IE isnt even trying to load the Sun Java apparently)
    If this is the same issue, hopefully this will help us both fix our issues, if you dont think this is the same issue, lemme know and ill post in a new topic.
    thanks in advanced for your help.

  • Java Error when using SAP's Webgui on JRE 1.5.0_07

    Hi all, when I try to download a report from an SAP instance via webgui, I get the following in the Java Control Panel. I have tried several different version of JRE, SDK, JDK etc... and they all return the same problem. SAP haven't been much use so I'm at wits end. Please HELP
    java.lang.SecurityException: illegal URL redirect
    Full log =
    Java Plug-in 1.5.0_07
    Using JRE version 1.5.0_07 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\maberp
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.SecurityException: illegal URL redirect
         at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
         at sun.plugin.cache.CachedJarLoader.download(Unknown Source)
         at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
         at sun.plugin.cache.JarCache.get(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.RuntimeException: java.lang.SecurityException: illegal URL redirect
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.SecurityException: illegal URL redirect
         at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
         at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
         at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
         at sun.plugin.cache.FileCache.get(Unknown Source)
         at sun.plugin.cache.PluginCacheHandler.get(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         ... 15 more
    Thanks

    Windows XP Pro SP1, IE 6.0, Java 1.5.0_05 doesn't exhibit any of those problems for me.
    The Console displays correctly and applets appear correctly.
    Try grabbing a new copy of Java and installing it. You may need to manually clean \Documents and Settings\xxxx\Application Data\Sun

  • JNLP related-content issue in JRE 7u5 Sub Menu Item link not working

    we are having an issue with our existing Web Start Application in Java Version 7 Update 2 and above where the Sub Menu items are not being associated with Internet Explorer with href link as Target when using <related-content> tag in JNLP. This is working fine in JRE 1.6, JRE 1.7.0 and 1.7.1. I have tried using Integration Service to programatically create these shortcuts in JRE 1.7.5 but was unsuccessful.
    <jnlp spec="6.0+" codebase="http://..." href="xyz.jnlp">
    <information>
    <title>ABC</title>
    <vendor>ABC Vendor</vendor>
    <homepage href=""/>
    <description>ABC Desc</description>
    <description kind="short">ABC Desc Short</description>
    <icon href="abc.gif" kind="default"/>
    <offline-allowed/>
    <shortcut online="true" install="true">
    <desktop/>
    <menu submenu="ABC"/>
    </shortcut>
    <related-content href="help.doc">
    <title>ABC Help</title>
    <icon href="help.gif"/>
    </related-content>
    <related-content href="Uninstall.html">
    <title>Uninstall Page</title>
    <icon href="uninstall.gif"/>
    </related-content>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="timeout" policy="always"/>
    <resources>
    <java initial-heap-size="128m" max-heap-size="256m" version="1.6+"/>
    <jar href="ABC.jar" download="eager" main="true"/>
    </resources>
    <application-desc main-class="com.main.Abc"/>
    </jnlp>
    Any help in this regard would be greatly appreciated.

    I haven't filed this as a bug in Java development yet but am going to do so soon, In the mean time i was hoping to see if anyone else is on the same boat as me and if there was a work around.

  • Toolbar buttons GUI Issue in JRE 1.4.0_01.

    I have migrated my project which is working well in JRE 1.3 to JRE 1.4.0_01.
    I am facing a issue in my Graphical User Interface. In JRE1.4.0_01, all the tool bar buttons are showing in seleted state(Kind of poped up). When I move the mouse over those tool bar buttons, they become normal(Unselected state). I just removed JRE1.3 and included JRE1.4.0_01 in my project.
    Does anyone have a suggestion to fix this issue? Appreciate your time.
    Radha

    Hi,
    Not sure if I can help as I'm only new to java. I had the same problem when I changed from 1.3 to 1.4. Took me a while to fix the problem. I my case, which may be different to yours, I was using an instance of JButton which provided a rollover effect using a mouse listener. Like your problem, my buttons started with a border selected around them as if the mouse had entered the button area. To fix the problem I simply used the setBorderPainted(false) when I created the button and then when the mouselistener picked up an entered event I set the border Painted to true. When it was exited, the border was replayed with an empty border.
    Hope that helps
    Adrian

  • HELP!!! Could someone help me with a jar file issue and JRE 1.3 & 1.4

    We had a problem with the last Oracle patch in that it tried to extract from a jar file using the "jar" executable. But the jar executable is not installed on the server where we have JRE 1.4
    On one server, Jar.exe is installed where we have JRE 1.3. Is the jar.exe apart of JRE 1.4? If so, where do I find the jar.exe file? If it's not part of JRE 1.4, what do I need to do to get the jar.exe onto the server where JRE 1.4 is installed?
    Thanks, Carl

    Thanks for your replies.
    I know that a jar file is like a zip file but I'm asking, "Can you download just the jar.exe without downloading the JDK?"
    I keep reading everywhere that you can only get the jar.exe tool if you download the JDK but I can't use JDK(because it is a compiler) on our website here at work.
    Thanks,
    Carl

  • HELP!!! Could someone help me with a jar file issue and JRE 1.3 and JRE 1.4

    We had a problem with the last Oracle patch in that it tried to extract from a jar file using the "jar" executable. But the jar executable is not installed on the server where we have JRE 1.4
    On one server, Jar.exe is installed where we have JRE 1.3. Is the jar.exe apart of JRE 1.4? If so, where do I find the jar.exe file? If it's not part of JRE 1.4, what do I need to do to get the jar.exe onto the server where JRE 1.4 is installed?
    Thanks, Carl

    The jar tool isn't part of the jre but the jdk. You should find it on your server in %ORACLE_HOME%\jdk\bin (seems you use some kind of Windows).

  • DoD Category I issues with JRE on Linux OS

    My company has a medical equipment solution installed within the US DoD running Java SE 6 on Linux.  In order to address a Cat 1 security issue, 6u81 is required.  My company has an advanced support contract, so we have access to this Java update.  However, our legal department indicates the Oracle EULA prevents us from applying the update on the US government system.  They say that the government must download and apply the update. 
    Please clarify if the US government is entitled to received Java SE 6u81 to address this finding either through our support agreement or via support agreements between Oracle and the US government.

    Hi - thanks for your reply.
    I try not to use Iphoto, although it does sometimes kick in before i can cancel it. Normally, i copy the records from the card to the Imac hard drive.
    I'm assuming the CF card may have been formatted by a previous windows machine at some point. Is this likely to be an issue?
    imac G5   Mac OS X (10.4.5)  

  • Installing JRE on RHE 3 - Issues with JRE Path

    Hello,
    First of all, I am very new to linux (I normally have server admins but since it's weekend it looks very bad)
    I have installed j2sdk1.4.2 today but it seems like something went really wrong as we cannot locate jre.
    I have installed a chat server which has a startup file containing:
    #!/bin/sh
    jre -ms8m -mx128m -classpath $CLASSPATH:NetDiveServer.jar NetDiveServer port=2112 httpPort=2113 config=.
    After running it I simply get the message
    jre: command not found
    Maybe somebody could point me to some site where oath setups are explained very well since I am very new to this. I believe it is all about setting up paths so maybe somebody could help out there.
    Thanks

    Thanks for your qucik reply. If I can get JRE and Jedit working on my jumpdrive, it will be great and save me a lot of time. I am a new user so I might be asking some obvious questions here.
    My question is : What is the difference between integrating JRE with IE and JRE with Jedit? If I run JRE as a stand alone program then will Jedit link to the JRE properly? Anyone care to comment on what the standard installation program does to provide the integration? I guess it is more than just copying files.
    What happens if there is another JRE running already? maybe the same or different version of JRE as the one on my jump drive.
    Thanks for your help.
    Ken.

Maybe you are looking for