Java 3d Extension
Hi ,
i m unable to run a java3d application .its giving err as "java 3d extensions not installed"
plz help me solving it
tnx
1. What platform are we talking about?
2. Did you install the 3d extensions?
3. What sample application are you trying to see if it works?
Similar Messages
-
For a long time, each time Firefox updates, it invites me to install theJava Console Update. then I get a message that Java Console not supported.
You can uninstall (remove) the Java Console extensions and disable the Java Quick Starter extension, you do not need them to run Java applets.
See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
Disable the Java Quick Starter extension (if you have it): Tools -> Add-ons -> Extensions<br />
Control Panel -> Java -> Advanced tab -> Miscellaneous -> Java Quick Starter (disable)
See http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0 -
Yesterday the following message appeared in my browser (Firefox 3.6.13):
"The Java Console extension is no longer supported and will be automatically removed the next time you restart Firefox. This will not affect any Java applications or websites in any way."
After receiving this message, the formatting buttons in the reply boxes of this SMF forum would not display.
http://www.thechristianidentityforum.net/smf/
And when I clicked on the "Listen Live" link at the site below, I got a "Cannot create DirectShow player" error message.
http://www.3aw.com.au/
How do I fix this?
Many thanks in advance for your help.Clear the cache and the cookies from sites that cause problems.
* "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
* "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]] -
hi..
i want access android resource..
for example, res/menu/menu.xml, res/values/strings.xml ... etc...
- R.java -
/* AUTO-GENERATED FILE. DO NOT MODIFY.
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
package com.flash.extension.nativelib;
public final class R {
public static final class attr {
public static final class drawable {
public static final int icon=0x7f020000;
public static final int notification_icon=0x7f020001;
public static final class layout {
public static final int main=0x7f030000;
public static final class string {
public static final int extension_app_name=0x7f040001; -> "hi extension"
public static final int extension_hello=0x7f040000;
so i used getResourceId("string.extension_app_name");
but it's not work.. throw NotFoundException error..
so i used context.getString(R.string.extension_app_name);
it's work, but return incorrect value.. -> return value is "0.0.0".. it's versionName in actionScript Client Project..
why can't access android resource in native extension?
how to get android resource in java natvie extension..??
Is there anyone who has a sample source??
help.. me.. please..Hello,
I am facing the same issue with the native extension i am using follwing code to get the resource id
Intent inte = new Intent(context.getActivity().getApplicationContext(),SecondActivity.class);
inte.putExtra("layout",context.getResourceId("layout.secondactivity"));
context.getActivity().startActivity(inte);
i am getting this exception "android.content.res.Resources$NotFoundException:layout.secondactivity"
I have included activity in the native manifest file as well as flex's manifest file for android.
please help me with this or an example will be great thanks. -
SPS 18 Installation fails while asking for Java Crypthography Extension
Hi @ all,
some weeks ago we deployed the file "tc_sec_java_crypto_signed_fs_lib.sda by the SDM. But we didn´t enabled strong encryption in the portal.
Now, i want to update my portalstack from SPS 14 to SPS 18 and while i update J2EE Sapinstaller asks for Java Crypthography Extension-Source-Code. But i don´t want to install it, because automatically the database is set to strong encryption and i can´t use / administrate in anymore.
I still undeployed the IAEK-FS-File but the problem persists.
I´m very pleasent for every answer.
Best Regards
LarsHey,
that´s fine Sascha.
It works greatly. SPS 18 not asking für JCE anymore.
The Installation is now running.
Thx a lot!
Greetingz
Lars -
Does anyone know of any Sun Classes for Java Cryptographic Extension -JCE ?
Hello - anyone know of any Sun Classes for Java Cryptographic Extension? If so do you have the Sun class code/s?
Edited by: Mister_Schoenfelder on Apr 17, 2009 11:31 AMMaybe this can be helpful?
com.someone.DESEncrypter
======================
package com.someone;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.security.spec.AlgorithmParameterSpec;
import java.security.spec.KeySpec;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.PBEKeySpec;
import javax.crypto.spec.PBEParameterSpec;
public class DESEncrypter {
Cipher ecipher;
Cipher dcipher;
// 8-byte Salt
byte[] salt = {
(byte)0xA9, (byte)0x9B, (byte)0xC8, (byte)0x32,
(byte)0x56, (byte)0x35, (byte)0xE3, (byte)0x03
// Iteration count
int iterationCount = 19;
public DESEncrypter(String passPhrase) {
try {
// Create the key
KeySpec keySpec = new PBEKeySpec(passPhrase.toCharArray(), salt, iterationCount);
SecretKey key = SecretKeyFactory.getInstance(
"PBEWithMD5AndDES").generateSecret(keySpec);
ecipher = Cipher.getInstance(key.getAlgorithm());
dcipher = Cipher.getInstance(key.getAlgorithm());
// Prepare the parameter to the ciphers
AlgorithmParameterSpec paramSpec = new PBEParameterSpec(salt, iterationCount);
// Create the ciphers
ecipher.init(Cipher.ENCRYPT_MODE, key, paramSpec);
dcipher.init(Cipher.DECRYPT_MODE, key, paramSpec);
} catch (java.security.InvalidAlgorithmParameterException e) {
e.printStackTrace();
} catch (java.security.spec.InvalidKeySpecException e) {
e.printStackTrace();
} catch (javax.crypto.NoSuchPaddingException e) {
e.printStackTrace();
} catch (java.security.NoSuchAlgorithmException e) {
e.printStackTrace();
} catch (java.security.InvalidKeyException e) {
e.printStackTrace();
public DESEncrypter(SecretKey key) {
try {
ecipher = Cipher.getInstance("DES");
dcipher = Cipher.getInstance("DES");
ecipher.init(Cipher.ENCRYPT_MODE, key);
dcipher.init(Cipher.DECRYPT_MODE, key);
} catch (javax.crypto.NoSuchPaddingException e) {
e.printStackTrace();
} catch (java.security.NoSuchAlgorithmException e) {
e.printStackTrace();
} catch (java.security.InvalidKeyException e) {
e.printStackTrace();
public String encrypt(byte[] data) {
return encrypt(new sun.misc.BASE64Encoder().encode(data), false);
public byte[] decryptData(String s) throws IOException {
String str = decrypt(s, false);
return new sun.misc.BASE64Decoder().decodeBuffer(str);
public String encrypt(String str, boolean useUTF8) {
try {
// Encode the string into bytes using utf-8
byte[] utf8 = useUTF8 ? str.getBytes("UTF8") : str.getBytes();
// Encrypt
byte[] enc = ecipher.doFinal(utf8);
// Encode bytes to base64 to get a string
return new sun.misc.BASE64Encoder().encode(enc);
} catch (javax.crypto.BadPaddingException e) {
e.printStackTrace();
} catch (IllegalBlockSizeException e) {
e.printStackTrace();
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
} catch (java.io.IOException e) {
e.printStackTrace();
return null;
public String decrypt(String str, boolean useUTF8) {
try {
// Decode base64 to get bytes
byte[] dec = new sun.misc.BASE64Decoder().decodeBuffer(str);
// Decrypt
byte[] utf8 = dcipher.doFinal(dec);
// Decode using utf-8
return useUTF8 ? new String(utf8, "UTF8") : new String(utf8);
} catch (javax.crypto.BadPaddingException e) {
e.printStackTrace();
} catch (IllegalBlockSizeException e) {
e.printStackTrace();
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
} catch (java.io.IOException e) {
e.printStackTrace();
return null;
// Here is an example that uses the class
public static void main(String[] args) {
try {
// Generate a temporary key. In practice, you would save this key.
// See also e464 Encrypting with DES Using a Pass Phrase.
SecretKey key = KeyGenerator.getInstance("DES").generateKey();
// Create encrypter/decrypter class
DESEncrypter encrypter = new DESEncrypter(key);
// Encrypt
String encrypted = encrypter.encrypt("Don't tell anybody!", true);
// Decrypt
String decrypted = encrypter.decrypt(encrypted, true);
} catch (Exception e) {
e.printStackTrace();
try {
// Create encrypter/decrypter class
DESEncrypter encrypter = new DESEncrypter("My Pass Phrase!");
// Encrypt
String encrypted = encrypter.encrypt("Don't tell anybody!", true);
// Decrypt
String decrypted = encrypter.decrypt(encrypted, true);
} catch (Exception e) {
e.printStackTrace();
} -
Java Kernel and the "Unlimited Strength Java Crypto Extension Policy Files"
Is Java Kernel able to download and install on-demand the "Unlimited Strength Java(TM) Cryptography Extension Policy Files"?
Currently, I have to instruct the users of my applications to download those policy files from Sun's website and follow the installation instruction. I haven't received any positive feedback from my users when I told them to do this task. I understand them. Manual installation of this files really suck especially for lay men.
So, with Java Kernel, what's the plan? Can I hope for something better?I believe, for US export-control reasons, the Unlimited Strength JCE policy files are never automatically downloadable by the JVM - they have to be explicitly downloaded and configured. However, you could download it yourself, configure the JVM with the policy files, create your own ZIP/JAR file and internally distribute it to your users through your intranet. But, if you do this, you are responsible for complying with the applicable export laws of your country, and perhaps, Sun licensing terms for redistributing the JVM.
-
In firefox 3.6.13 32 bit on Windows 7 64 bit with WOW subsystem, under Tools > Addons > extensions I see four Java console entries listed. They are: Java Console 6.0.20, 6.0.21, 6.0.22 & 6.0.23. 6.0.23 is active. The other 3 are disabled with the Uninstall button disabled. There are no extension folders in the default profile (only profile listed). There are not programs listed in the Windows Control Panel Remove programs pane.
Since I am unfamiliar with registry editing procedures, I used the manual removal process of deleting appropriate sub-folders from c:\Program Files (x86)\Mozilla Firefox\extensions. After stopping Firefox and restarting it, only the desired (Java Console 6.0.23) extension appeared in Tools > Add-ons > extensions. Problem solved! My thanks to both cor-el and The-edmeister for their helpful responses!
-
I am a student at UHD in Houston and I am trying to get started by compiling simple programs at the command prompt for a course I'm taking. I have just installed Java v 5.0 and everything seemed to go ok. However, when I save a simple program with the .java extension on it, Windows is still seeing it as a notepad file or a MSWord file. It shows it's icon as such.
When I go to compile the program at the command prompt, it tells me that it cannot read my file.
ie. error: cannot read: welcome1.java
Please help. I don't want to have to do all my programs in the school computer lab! LOL! I've tried the program on the school lab computer and it works fine. Did something go wrong with my installation? Please help.The Notepad program is adding ".txt" to your file, so it ends up as myFirst.java.txt and is invalid.
If you can't see that ".txt", you are hiding file exttensions. Unhide them in Folder Options | View
Either use Save As or Doublequote the file name in Notepad to stop the addition. -
Recently I was charged with adding new features to a barcode system I created.To keep things on the lite and well easy side, I am trying to find a pdf extention that can access the data with in the pdf.
What I am looking for is not much unlike JAI. Since JAI does not play with pdf's I am searching to find an extension that does.
So my question is, does anyone know of an extension that works similar to JAI?Es scheint ein Fehler von der Java SWT-Funktion zu sein. Windows Explorer findet nämlich das Programm.
-
Hi Forum,
Just commenced an academic project on Cryptography in Uni today and started studying some materials. I have tried to import SunJCE into my java class by specifying the statement "import com.sun.crypto.provider.SunJCE" in an enclipse work space and I have this error "Access restriction: The type SunJCE is not accessible due to a restriction on required library C:\Program Files\Java\jre6\lib\ext\sunjce-provider.java".
What exactly does this error entail and how can I go about surmounting it?
Cheers!Why do you think you need that import? If you are using a Sun JDK then the SunJCE provider is normally the default provider. If you are using an IBM JDK then the IBM provider is normally the default. You only need to create an instance of a Provider if you need it to handle either a cryptographic algorithm that is not available in the default provider or if you are dealing with a Provider for an HSM (or other hardware based encryption). In these cases you will install the provider provided by the hardware or library you are trying to access.
P.S. Have you installed the 'unlimited strength' jars? -
(?) Java Management Extensions(JMX) Change
program works with previous versions of java,
with the java update 13, what could possibly be the compatibility issues that
i could look into and consider?
does JMX always works internally with any java application?
confused.
thanks
Edited by: twinks on Oct 7, 2009 6:23 AMhi thanks for the reply.
im not really sure if the program uses jmx application.
i could not find the
javax.management in the imports of the sourcefiles though.
so i was wondering if jmx works internally in java or that one has yet to implement it and use the interfaces?
because if yes, then i think i dont have a compatibility problem with
6u13, but if it does, i dont know what aspects or what part of the application should i look into for possible compatibility issues.
:( -
Having Trouble with Java Cryptography Extension (JCE)
Hi, this is my first attempt at using the JCE. I'm using JCE 1.2.1
and basically all I'm trying to do at this point is encrypt a
FileInputStream object using the DES standard, with the JCE
classes. Here is my code Fragment.
protected FileOutputStream encriptFile(FileInputStream baseFile,
File encFileName) throws IOException
try
// Create the output file for the encrypted document
FileOutputStream encriptedFile = new FileOutputStream
(encFileName);
// Must register the provider that implements the algorithm
Provider sunJce = new com.sun.crypto.provider.SunJCE();
Security.addProvider(sunJce);
char[] pbeKeyData = password.toCharArray();
PBEKeySpec pbeKeySpec = new PBEKeySpec(pbeKeyData);
SecretKeyFactory keyFactory = SecretKeyFactory.getInstance
("DES");
SecretKey pbeKey = keyFactory.generateSecret(pbeKeySpec);
Cipher pbe = Cipher.getInstance("DES"); // Same as above.
pbe.init(Cipher.ENCRYPT_MODE, pbeKey);
CipherOutputStream cout = new CipherOutputStream
(encriptedFile, pbe);
// Use a byte array to write the file output in blocks of 64
bytes.
byte[] buffer = new byte[64];
while (true)
int bytesRead = -1;
bytesRead = baseFile.read(buffer);
if (bytesRead == -1) break;
cout.write(buffer, 0, bytesRead);
cout.flush();
cout.close();
baseFile.close(); // Close the input file.
catch (java.security.NoSuchAlgorithmException nsA)
System.err.println(nsA);
nsA.printStackTrace();
catch (java.lang.ExceptionInInitializerError eIIE)
System.err.println(eIIE);
eIIE.printStackTrace();
catch (Exception e)
System.err.println(e);
e.printStackTrace();
My problem arises with the line "SecretKeyFactory keyFactory =
SecretKeyFactory.getInstance("DES");" This line throws an
ExceptionInInitializerError and the catch block tells me this
java.lang.ExceptionInInitializerError
java.lang.ExceptionInInitializerError: java.lang.SecurityException:
Cannot set up certs for trusted CAs
(The rst of the stackCall here)...
From what I've read in the documentation, I need to have a provider
set up that handles the SecretKeyFactory and encryption algorithms,
but the documentation also says that the SunJCE provider that I set
up near the start of my method should have been able to handle this.
Is there anyone out there with expeience doing this kind of thing
that can help.
Thanks,
DanPlease check out the following:
1. Be sure that the jar file will be viewable from classpath and that the provider you want to use will be in java.security file.
2. In the java.security file you should have something like this:
security.provider.1=sun.security.provider.Sun
security.provider.2=com.sun.crypto.provider.SunJCE
3. If you wish, you can test your program with another JCE implementation, like cryptix.
You can download the api and documentation of cryptix at http://www.cryptix.org/products/index.html
I wish this can be useful to you!!!
Thank you for some duke dollars. -
Hi,
I would really appreciate if someone could share an example of how java types can be used in WSDL.
I am trying to define messages of type java.sql.Connection. The WSDL should look something like:
But of course I cannot reference java.sql.Connection from the WSDL
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tst="http://test.org/test/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
name="TestService"
targetNamespace="http://test.org/TestService/">
<wsdl:types>
<xsd:schema targetNamespace="http://test.org/Test/">
<?xml version="1.0" encoding="UTF-8"?>
<element name="testType">
<complexType>
<sequence>
<element name="connection" type="java:java.sql.Connection"/>
</sequence>
</complexType>
</element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="testMessage">
<wsdl:part name="RequestParameter" element="tst:testType"/>
</wsdl:message>
<wsdl:message name="testMessage">
<wsdl:part name="ResponseParameter" element="tst:testType"/>
</wsdl:message>
<wsdl:portType name="testInterface">
<wsdl:operation name="TestOper">
<wsdl:input message="tst:testRequestMessage"/>
<wsdl:output message="tst:testResponseMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="testServiceSOAP" type="tst:testInterface">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="test">
<soap:operation soapAction="http://test.org/test/ "/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="testService">
<wsdl:port binding="conn:testServiceSOAP" name="testServicePort">
<soap:address location="http://localhost:8080/Axis/services/testServiceSOAP" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Is there a workaround?
Thanks.
MOK, but what do we do if an application is using several database web services that should perform operations in the same session simply because it is too time consuming to authenticate every time a different web service is invoked?
Do we ask for user name/password for every web service?
Use the same connection (which you say is impossible) or
Somehow keep the user name / password and reuse it when invoking another web service?
Thanks -
I will be VERY happy if the java compiler will have some good "MACROes" like those in C/C++... for example one good is a date/time macro a user macro, ecc... In a very large project we sometimes have problems including some version information into class files... for example:
Vector vInfo = new Vector();
vInfo.add("Created by: "+__USER__);
vInfo.add("Last update on: "+__DATE__);
vInfo.add("Compiled with: "+__JVM_VENDOR__+" version "+__JVM_VERSION__);
On some web-app I use a vector like this to gather information on some important classes... It would be very good if this values are updated at compile-time and last but not least AUTOMATICALLY...
Does anyone know if next 1.4 will have some of this features?? If no, who can I contact at sun to submit this litte proposal???
Sorry for my bad english... i'm italian... :)There are system proporties that contain all that information. Except the date... sorry...
Properties:
user.name = __USER__
java.vendor = __JVM_VENDOR__
java.version = __JVM_VERSION__
Vector vInfo = new Vector();
vInfo.add("Created by: "+System.getProperty("user.name"));
vInfo.add("Last update on: "+new Date()); // could format it with the SimpleDateFormat
vInfo.add("Compiled with: "+System.getProperty("java.vendor")+" version "+System.getProperty("java.version"));
....Code to get all System properties
import java.util.Properties;
class props
static public void main(String args[])
Properties props = System.getProperties();
props.list(System.out);
} // main
} // props
Maybe you are looking for
-
Cannot Add Servers to server pool
Oracle VM 3.0.1 Created clustered server pool when I try to add 2 Oracle VM servers to the server pool I get the following error message for both servers: (Note I can add/remove servers from a different server pool without "activate cluster" checked)
-
Any status on URI support on iOS
We use a corporate app to deliver an RDP file on iOS so that users don't have to manually configure it. Microsoft RDP currently does not support this, Wyse Pocketcloud Pro does. Is there any indication of this being added in the near future?
-
When I acess this site I can not download .dat files get a corrupted data error
-
Find average of 3 boxes to the nearest 0.50 inch.
I am working on a PDF. I am trying to get the average of 3 numbers to the nearest 0.50 inch. So if the measurements were 16, 15, and 15 it would give the number 15.5 instead of giving the 15.33 since it is closer to 15.5 then 15.0 Can someone help me
-
Hi how to restrict * in seelction screen
Hi abapers, In selection screen am having field s_matnr. After giving input as * and pressing F4 its fetches all the materials.But i want to restrcit using * and then pressing F4. How can i do it.