Finding crypto.jar

I want to use the javax cryptography libraries to build keys for Amazon S3 but I can't find the right library. I think I need crypto.jar. (The main interface I need is SecretKeySpec). I have a full install of JDev 10.1.3, along with Java version 1.5. Do I need to download another library or is this jar in the installation somewhere?
Thanks,
Bret

Hello,
The javax.crypto.spec.SecretKeySpec is part of the Java Crypto API and you should find the jce.jar in the JRE_HOME/lib directory.
The javax.crypto.spec package should be available in your project out of the box since part of the Java environment.
Regards
Tugdual Grall

Similar Messages

  • Preverify ERROR for in Eclipse while using SATSA-crypto.jar

    I have created simple application to encrypt the string using Cipher class like below:
    This code snippet I got from the forums.nokia;
    In this The string "THIS IS A SECRET MESSAGE" is encrypted and decrypted using the key "SECRET!!" .
    import java.security.InvalidKeyException;
    import java.security.NoSuchAlgorithmException;
    import javax.microedition.lcdui.Command;
    import javax.microedition.lcdui.CommandListener;
    import javax.microedition.lcdui.Displayable;
    import javax.microedition.lcdui.Form;
    import javax.microedition.lcdui.Item;
    import javax.microedition.lcdui.TextBox;
    import javax.microedition.lcdui.TextField;
    import javax.crypto.BadPaddingException;
    import javax.crypto.Cipher;
    import javax.crypto.IllegalBlockSizeException;
    import javax.crypto.NoSuchPaddingException;
    import javax.crypto.ShortBufferException;
    import javax.crypto.spec.SecretKeySpec;
    public class FirstForm extends Form implements CommandListener {
         TextField txtData=new TextField("Enter the Data","",10,TextField.ANY);
         Command cmdEncrypt=new Command("Encrypt",Command.SCREEN,1);
         public FirstForm(String arg0)
              super(arg0);
              this.append(txtData);
              this.addCommand(cmdEncrypt);
              this.setCommandListener(this);
         public void commandAction(Command cmd, Displayable frm)
              if(cmd==this.cmdEncrypt)
                   System.out.println("Command Is Pressed.......");
                   byte[] msg = "THIS IS A SECRET MESSAGE".getBytes();
                   byte[] enMsg = new byte[10000];
                   byte[] deMsg = new byte[10000];
                   //create new cipher using DES algorithm
                   try {
                        Cipher c = Cipher.getInstance("DES");
                        //our raw byte[] key - please note that since we use DES algorithm,
                        //the key must be 8 bytes long
                        byte[] b = "SECRET!!".getBytes();
                        //init the cipher to encrypt the data
                        c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(b,0,b.length,"DES"));
                        int numBytes = c.doFinal(msg, 0, msg.length, enMsg, 0);
                        System.out.println("Encrypted Message is"+enMsg);
                        //init the cipher to decrypt the data
                        c.init(Cipher.DECRYPT_MODE, new SecretKeySpec(b,0,b.length,"DES"));
                        numBytes = c.doFinal(enMsg, 0, numBytes, deMsg, 0);
                        String s = new String(deMsg,0,numBytes);
                        System.out.println("Decrypted Message is"+s);
                   } catch (InvalidKeyException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (NoSuchAlgorithmException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (NoSuchPaddingException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (IllegalStateException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (ShortBufferException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (IllegalBlockSizeException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (BadPaddingException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
    }after clicking on command button the Encrypted and decrypted sting is shown on the console
    I have tested this code with wtk2.5.2.
    This code works fine with sun'sWTK 2.5.2
    But when; I have created project with the eclippse and wtk22
    1) I added the satsa-crypto.jar in projrct->Properties->java-Builder-Path in "Library tab"
    2)I Had also checked the checkbox before satsa-crypto.jar "Order-Of-Export Tab"
    I am using the Ant Built
    After Building I got Error saying::
    Buildfile: D:\nitins_workspace\Encrypt\build.xml
    init:
    j2mepolish:
    [j2mepolish] info: the license attribute is no longer supported. Please place your license.key file either to ${project.home} or to ${polish.home}.
    [j2mepolish] J2ME Polish 2.0-RC4 (GPL License)
    [j2mepolish] Loading device database...
    [j2mepolish] Using locale [de_DE]...
    [j2mepolish] assembling resources for device [Generic/midp2].
    [j2mepolish] preprocessing for device [Generic/midp2].
    [j2mepolish] compiling for device [Generic/midp2].
    [j2mepolish-javac-Generic/midp2] Compiling 24 source files to D:\nitins_workspace\Encrypt\build\real\Generic\midp2\de_DE\classes
    [j2mepolish] obfuscating for device [Generic/midp2].
    [j2mepolish] proguard: ProGuard, version 3.5
    [j2mepolish] proguard: Preparing output jar [D:\nitins_workspace\Encrypt\build\real\dest.jar]
    [j2mepolish] preverifying for device [Generic/midp2].
    [j2mepolish] preverify:Error preverifying class u
    [j2mepolish] preverify:    VERIFIER ERROR u.a(ILm;Lw;)V:
    [j2mepolish] preverify:Cannot find class com/sun/midp/ssl/Key
    [j2mepolish] Preverify call failed: 1
    [j2mepolish] C:\WTK22\bin\preverify.exe -classpath D:\Java\J2ME-Polish\import\midp-2.0.jar;D:\Java\J2ME-Polish\import\cldc-1.0.jar; -d D:\nitins_workspace\Encrypt\build\real\Generic\midp2\de_DE\obfuscated -nofp -nofinalize -nonative D:\nitins_workspace\Encrypt\build\real\Generic\midp2\de_DE\obfuscated
    BUILD FAILED
    D:\nitins_workspace\Encrypt\build.xml:109: Unable to preverify for device [Generic/midp2] - preverify returned result 1
    Total time: 7 seconds What may be the reason of this??

    I think you need to post the stack trace error message to get a response.

  • Why doesn't Maven find jfxrt.jar, although it is included in the JDK?

    Hi,
    Why doesn't Maven find jfxrt.jar, although it is included in the JDK?
    My solution to build JavaFX apps with Maven is:
    <dependency>
                <groupId>com.oracle</groupId>
                <artifactId>javafx</artifactId>
                <version>2.2</version>
                <scope>system</scope>
                <systemPath>${java.home}/lib/jfxrt.jar</systemPath>
    </dependency>It works, but I wonder why the Maven build process can't find it automatically, as any other Java dependency, too.
    If I build without the dependency, it can't find javafx imports.
    Since Java 7 Update 6 it is included in the JDK.

    There is a long drawn-out thread on this (you don't need to read it):
    Error initializing OC4J server (JDev 10.1.3 EA1) "JDK 7u6 JavaFX integration - Is jfxrt.jar supposed to be on the classpath?"
    Short summary is that jfxrt.jar is in the jdk/jre as of 7u6, but not on the default classpath for the jdk/jre (as of 7u13).
    This will change in a future release (e.g. I believe the latest early access builds of jdk8 do have jfxrt.jar on the default runtime classpath).
    So for now, you will need to explicitly add jfxrt.jar to the classpath. There are various ways to do this, one is to use a system dependency and then use the maven ant run plugin to package your app as is done in this example: http://code.google.com/p/willow-browser/source/browse/pom.xml
    <dependency>
      <groupId>javafx</groupId>
      <artifactId>jfxrt</artifactId>
      <version>${javafx.min.version}</version>
      <scope>system</scope>
      <systemPath>${javafx.runtime.lib.jar}</systemPath>
    </dependency>
    <plugin>
      <artifactId>maven-antrun-plugin</artifactId>
      <version>1.6</version>
      <executions>
        <execution>
          <id>create-launcher-jar</id>
          <phase>package</phase>
          <goals>
            <goal>run</goal>
          </goals>
          <configuration>
            <target xmlns:fx="javafx:com.sun.javafx.tools.ant">
              <taskdef
                  uri="javafx:com.sun.javafx.tools.ant"
                  resource="com/sun/javafx/tools/ant/antlib.xml"
                  classpath="${javafx.tools.ant.jar}"/>
                <fx:application id="fxApp"
                    name="${project.name}"
                    mainClass="${exec.mainClass}"/>
                <fx:jar destfile="${project.build.directory}/${project.build.finalName}-launcher">
                  <fx:application refid="fxApp"/>
                  <fx:fileset dir="${project.build.directory}/classes"/>
                </fx:jar>
                <attachartifact
                    file="${project.build.directory}/${project.build.finalName}-launcher.jar"
                    classifier="launcher"/>
            </target>
          </configuration>
        </execution>
      </executions>
    </plugin>Another way would be to make use of the zenjava javafx maven plugin:
    http://www.zenjava.com/2012/11/24/from-zero-to-javafx-in-5-minutes/

  • Where to find the jar fie  for the following packages

    Hi All,
    Can any one help me to find out the Following jar file. i am unable to find the jar file for these package.
    import com.sapportals.wcm.repository.ICollection;
    thanks in advance.

    It is in bc.rf.framework_api.jar
    But the best way to find out is to use the classLocator to search for the jar files containing specific class files.
    Check out this thread.
    How to search for a class to know it is in which Jar file
    Also you will get lots of document on the sourceforge home page as to how to use to class locator
    Hope this helps.
    Please reward points for helpful answers on SDN

  • Where to find the jars needed

    Hi,
    I downloaded a sample code for search engine. I'm not able to compile the code as the import statement fails for the below jar. Please help me finding the jars needed.
    import com.sapportals.wcm.service.indexmanagement.*;
    import com.sapportals.wcm.service.indexmanagement.retrieval.search.*;
    import com.sapportals.wcm.service.indexmanagement.ISupportedOptionSet;
    import com.sapportals.wcm.service.indexmanagement.SupportedOptionSet;
    Naveen

    Hi Naveen,
        Few of the jars u can find here:
    portalapps/com.sap.km.cm.service/service/private/lib/km.appl.service.indexmanagement_core.jar
    portalapps/com.sap.km.cm.service/private/lib/km.appl.service.indexmanagement_core.jar
    portalapps/com.sap.km.cm.service/lib/km.shared.service.indexmanagement_api.jar
    You can find portalapps folder here:
    \usr\sap\<SID>\JC<System Number>\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\
    Its better to use jar class finder. You can download from here:
    http://www.alphaworks.ibm.com/aw.nsf/reqs/jarclassfinder
    For info on how to use it see this blog:
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2951
    Regards,
    Pooja.
    Message was edited by:
            Pooja S
    Message was edited by:
            Pooja S

  • Unable to find ejb-jar with uri X.jar in ear at c:/Y/split_src

    Stack trace is below, but the ejb does exist at the location that the FileNotFoundException states. I've checked that application.xml, org.eclipse.wst.common.component both have the correct name for this dependency.
    java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
      at oracle.eclipse.tools.weblogic.server.internal.DeploymentProgressListener.watch(DeploymentProgressListener.java:190)
      at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:506)
      at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1466)
      at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:898)
      at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:686)
      at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:539)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
      at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3153)
      at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    Caused by: weblogic.application.ModuleException:
      at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:334)
      at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
      at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:312)
      at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:325)
      at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:378)
      at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
      at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
      at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
      at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
      at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.io.FileNotFoundException: Unable to find ejb-jar with uri ***.jar in ear at C:\***\split_src
      at weblogic.ejb.spi.EJBJar.<init>(EJBJar.java:81)
      at weblogic.ejb.container.deployer.EJBModule.buildClassFinder(EJBModule.java:201)
      at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:313)

    Hi Ten,
    FYI, just by placing the ejb jar inside EAR project it will not be picked up for deployment. The EJB module has to be defined on EAR Module Assembly, and the steps are:
    > EAR Project | Properties, Deployment Assembly - Add EJB module
    NOTE: To verify the dependency you could try to export the EAR project to an .ear file. If the exported .ear file bundles ejb jar then deployment should work fine.
    As far as the deployment mode, OEPE supports WebLogic Split-source (default) and Exploded archive. In the default split-source mode, the .beabuild.txt contains the mapping to the actual files whereas in exploded archive the files are copied over to deployment staging location.
    Steps to modify deployment mode:
    > In the server view, right click on server configuration | Properties, select WebLogic | Publishing
    Please make sure the ejb module is defined appropriately and let me know if this resolves the issue.
    Thanks,
    Ram

  • Unable to publish - Unable to find ejb-jar with uri itr-ejbs.jar in ear

    I'm using Weblogic 10.3.4 with Eclipse Juno before i was with Eclipse Galileo. Since the update i'm not able to publish my ear anymore.
    I search on the internet the explanation of this stacktrace but i don't find a understandable answer so i ask to you :D
    <5 oct. 2012 12 h 30 CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1349433008242' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:334)
         at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
         at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
         at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:298)
         at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:330)
         Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: Unable to find ejb-jar with uri itr-ejbs.jar in ear at D:\dev\workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects\itr-ear\beadep\citron_domain\itr-ear\split_src
         at weblogic.ejb.spi.EJBJar.<init>(EJBJar.java:81)
         at weblogic.ejb.container.deployer.EJBModule.buildClassFinder(EJBModule.java:201)
         at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:313)
         at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
         at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
         Truncated. see log file for complete stacktrace
    >
    <5 oct. 2012 12 h 30 CEST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'itr-ear'.>
    <5 oct. 2012 12 h 30 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:334)
         at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
         at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
         at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:298)
         at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:330)
         Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: Unable to find ejb-jar with uri itr-ejbs.jar in ear at D:\dev\workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects\itr-ear\beadep\citron_domain\itr-ear\split_src
         at weblogic.ejb.spi.EJBJar.<init>(EJBJar.java:81)
         at weblogic.ejb.container.deployer.EJBModule.buildClassFinder(EJBModule.java:201)
         at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:313)
         at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
         at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
         Truncated. see log file for complete stacktrace
    >Thank You

    Hi,
    It seems one of your ejb jar is missing from the current file location.
    D:\dev\workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects\itr-ear\beadep\citron_domain\itr-ear\split_src
    you can make it manually copied to this location and build the project again so that it can able to deploy propertly.
    Now one more thing you can do open a ticket with oracle support for better assistance.
    Regards,
    Kal

  • Where can I find the jar file for File Transfer Service API

    Hi all ,
       I wish to use the File Transfer Service API in my application . Could anyone please tell me as to where I could find these class files ??
    <b>import com.sap.engine.services.file.RemoteFile;
    import com.sap.engine.services.file.FileTransfer;
    import com.sap.engine.services.deploy.DeployService;
    import com.sap.engine.services.deploy.container.WarningException;</b>
    Thanks in advance ,
         Tahzeeb

    Hi,
    you can find these jar files in the installation directory of NWDS:
    ...SAPJDTeclipsepluginscom.sap.tc.apcompSAP-JEEDCssap.comcom.sap.engine.deploy.online_compgendefaultpublicdefaultlibjavasapj2eenginedeploy.jar
    ...SAPJDTeclipsepluginscom.sap.tc.apcompSAP-JEEDCssap.comfile_compgendefaultpublicdefaultlibjavafile.jar
    Regards
    Sebastian

  • Help to find IPcdContext JAR

    hi,
    where i can find the JAR file which includes the IPcdContext?
    I am sarching in the Forum and find a hint to use
    com.sap.portal.pcd.glservice_api.jar but IPcdContext is´nt in it!

    Hi,
    com.sapportals.portal.pcd.gl jar file contains IPcdContext class. You can access this link for further information:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/ed5c42da4de92ce10000000a1550b0/frameset.htm
    Hope this helps :O)
    Cheers:)
    Ruchi.

  • SiteMinder with Weblogic8.1: could not find 'smsecurityproviders.jar' file

    Hello All,
    I am trying to "Integrating SiteMinder with Weblogic 8.1" using follwing support pattern:
    https://support.bea.com/application_content/product_portlets/support_patterns/wls/UsingAndTroubleshootingWebLogicServerAndSiteMinderPattern.html
    In the support pattern, one step is to put "smsecurityproviders.jar" file in the "WL_HOME/server/lib/mbeantypes" directory but I could not find "smsecurityproviders.jar" file.
    Could somebody please tell me...where can I find this jar file and if I have to create this jar file ..what are the steps?
    Your help is much appreciated!
    Regards,
    Qumar
    Edited by qumar_tcs at 05/28/2008 2:51 AM
    Edited by qumar_tcs at 05/28/2008 2:51 AM
    Edited by qumar_tcs at 05/28/2008 2:53 AM

    Dear Patel,
    Thanks a lot for the reply!
    It would be very nice...if you could tell me the siteminder directory, where I can find this jar file...I searched a lot but could not find this jar file.
    if possible for you, please send me the jar file on my mail id:
    [email protected]
    Regards,
    Qumar

  • Where can i find weblogic_sp.jar???????

    i use JBuilder7 to develop a JSP and Servlet.when i make the files ,the system say "Can not find F;\bea\weblogic700\server\lib\weblogic_sp.jar to copy to WebApp MyWebApp : file is defined as element of library weblogic6.X Deploy"
    when i config Tool->Config servers ,i delete the weblogic_sp.jar item and I can not find this Jar file in that directory.
    How can i do or Which link i can find the weblogic_sp.jar to download?

    Try this link - you'll need to login:
    http://support.bea.com/sitemap.jsp?highlight=sitemap#_BEA_Product_Downloads_and_Service_Packs

  • Where can I find WebLogic JAR including javax.annotation package?

    Hello.
    I'm writing and testing WebLogic EJB 3.0 sample through the edocs.bea.com
    Most samples in edocs use javax.annotation package, but I couldn't find any of javax.annotation package in jars of %WEBLOGIC_HOME%\server\lib folder.
    I want to use it such as javax.annotation.PreDestroy, javax.annotation.Resource etc.
    I'm using WebLogic 10.0 and Eclipse 3.3.
    Where can I find a jar include javax.annotation package?
    Thanks in advance.
    Edited by ienvyou at 12/11/2007 6:30 PM

    BEA_HOME\modules\javax.annotation...
    Edited by li_shen at 12/11/2007 10:26 PM

  • Can't find 'java40.jar'

    I am currently experiencing difficulties trying to get Java applets working on Netscape 4.7 running on a Solaris 2.4. Each time I visit a web page which has Java applets within it I am given a message which reads: Unable to start a java applet: Cant find 'java40.jar' in your CLASSPATH. Read the release notes and install 'java40.jar' properly before restarting.
    I have managerd to locate the java40.jar file within the /opt/netscape/java/classes directory, hence I set the CLASSPATH variable to /opt/netscape/java/classes/java40.jar within the .profile file. Unfortunately this still displays the message mentioned above and does not execute Java applets. My feeling is that CLASSPATH is set in some other configuration file and unless it is set on this file (which I dont know about) it cannot be overridden.
    Please advise me.
    Thanks

    Try setting the env variable MOZILLA_HOME to the directory where you have installed the Netscape Communicator binaries on.
    Also, do not forget to include the full path of the java40.jar file into the CLASSPATH env settings.
    That should do the trick.

  • Where to find this jar file

    hi,
    while building sample code i am getting jar not found.
    Where can i find this jar file <b>"bc.rf.repository.service.appproperties_api.jar"</b>
    thnks in advance

    hi
    it would be of gr8 help if u can forward the jar file to me also.
    my id is [email protected]
    thnks in advance
    Regards,
    Ranga

  • Where can I find the jar file for WDProtocolAdapter

    I tried to use WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter() method in the application. Could anyone told me which jar file should i put into the Java Build Path? Thanks.

    Find the jar under WD_runtime

Maybe you are looking for