Java 5 Tiger via JNLP available?
Hi guys,
is Java 5 /Tiger already available via Webstart?
Cheers
Thomas
The short answer is no, it isn't even available to Java Update yet (not that this would actually work on my XP SP2 box). It'll be interesting to see how this feature keeps up with the new model of fewer j2se maintenance releases (1.5.1, 1.5.2 etc..) and more updates (1.5.0_01, 1.5.0_02) etc.. ref: http://www.theserverside.com/news/thread.tss?thread_id=29127
For the full answer:
Checking for version (1.3) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.0) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.0_01) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.0_02) - Download version 1.3.0_02 available
Checking for version (1.3.0_03) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.0_04) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.0_05) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.1) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.1_01) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.1_01a) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.1_02) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.1_03) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.1_04) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.1_05) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.1_06) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.1_07) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.1_08) - Download version 1.3.1_08 available
Checking for version (1.3.1_09) - Download version 1.3.1_09 available
Checking for version (1.3.1_10) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.1_11) - Download version 1.3.1_11 available
Checking for version (1.3.1_12) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.3.1_13) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.4) - Download version 1.4.0 available
Checking for version (1.4.0) - Download version 1.4.0 available
Checking for version (1.4.0_01) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.4.0_02) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.4.0_03) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.4.0_04) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.4.1) - Download version 1.4.1 available
Checking for version (1.4.1_01) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.4.1_02) - Download version 1.4.1_02 available
Checking for version (1.4.1_03) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.4.1_04) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.4.1_05) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.4.1_06) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.4.1_07) - Download version 1.4.1_07 available
Checking for version (1.4.2) - Download version 1.4.2 available
Checking for version (1.4.2_01) - Download version 1.4.2_01 available
Checking for version (1.4.2_02) - Download version 1.4.2_02 available
Checking for version (1.4.2_03) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.4.2_04) - Download version 1.4.2_04 available
Checking for version (1.4.2_05) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.5) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.5.0) - Not Available, error message "11 Could not locate requested version"
Checking for version (1.5.0_01) - Not Available, error message "11 Could not locate requested version"
(not much fun if your still using 1.3!!)
- Richard
Similar Messages
-
HT1338 java doesn't work and there is no update (via apple) available.
Now running mountain lion. Unfortunately java doesn't work and there is no update (via apple) available. What do I do?
Open Terminal (Applications/Utilities/Terminal.app) and type
java -version
press 'return' on the keyboard.
Either
1. You get a version number for Java, in which case enable Java in
Applications/Utilities/Java Preferences.app
Or
2. You get an installer window pop up. After clicking through and installing that, enable Java as in 1. above. -
Java RTS 2.1 General Availability free evaluation releases available
Hi:
I would like to notify this forum that free evaluation releases of
Java Real-Time System (Java RTS) 2.1 General Availability (GA)
are available for download for the following platforms:
* Solaris 10 (Update 4 and Update 5) on SPARC and x86
* Linux with real-time POSIX APIs on x86. The specific Linux
distributions which this release has been tested on (at the time
of this writing) are: SUSE Linux Enterprise Real Time 10 SP2
(released) and Red Hat Enterprise MRG 1.0 Errata (to be released).
The URL for the web page where to start in order to be able to
get to the download link for any of the Java RTS 2.1 GA evals is:
[http://java.sun.com/javase/technologies/realtime/rts/]
You will be asked to fill out a quick survey and agree to a click-
through e-license, then a download link will be e-mailed to you.
The latest version of the Java RTS 2.1 GA technical documentation
bundle included with the product is being separately maintained at
our product website and can be accessed starting from here:
[http://java.sun.com/javase/technologies/realtime/reference/rts_productdoc.html]
Please also make sure to check out our updated FAQ:
[http://java.sun.com/javase/technologies/realtime/faq.jsp]
Thanks,
-Carlos
Carlos B. Lucasius
Java SE Embedded and Real-Time Engineering
Sun Microsystems, Inc.
[http://sites.google.com/site/javartsandjavaseforembedded/]Hello,
Just a quick question: can we have an official position from Sun regarding support of earlier releases of Solaris with Java RTS 2.1? Our customer is currently running Solaris 10 Update 3 with current Recommended patches, and the 2.1 beta cyclic driver supported this version of Solaris. However with the official release version of 2.1, support for U3 disappeared (only U4 and U5 are now supported). Aside from "rubber stamping" the Solaris build via /etc/release, is there a technical reason why U3 is no longer supported? As long as our kernel is up to date, can we safely use 2.1? Or is it just a case of being unable to officially support and test so many releases of Solaris?
Is this a general rule-of-thumb we can expect in future: only supporting the last 2 updates of Solaris 10?
Your advice is appreciated.
Thanks,
Dave. -
Plugin2/JNLP availability by browser??
I think my problem is that the Next Generation Plugin (plugin 2) is not available for Safari on Windows, but I'm not really sure. The applet works on multiple other browsers (IE8, 9, Chrome, Firefox). On Safari I'm getting:
java.lang.NoClassDefFoundError: javax/jnlp/UnavailableServiceException
which is odd in my opinion: what piece of software would be trying to throw that exception except JNLP? So, how could the exception definition be missing? Unless all of JNLP is missing???!!!??? In which case I'm screwed.
I've found posts on other websites, none recent, saying that UnavailServiceException indicates plugin2 not installed. But, they don't say the exception's not found!!
The tester who got this error had to install Java (using the deployJava.js package), but I don't know if she thought it was already installed. In any case, she's definitely running 1.6.0_24.
The only services I'm starting are Basic and Persistence. (Hmmmmm: I have a catch for UnavailableServiceException. I wonder if the error's being thrown from the catch?? Had the catch worked, the tester would have seen a more informative error message.)
Anyone with experience running JNLP/Plugin 2 applets on Safari?Andrew-
I now have no references to javax/jnlp in the applet's import list. But I'm still getting the no class def error.
My real question has become: Can I use JNLP to launch my applet? (jnlp_href) Or do I have to do all that junk by hand?
I've emptied the Java and the Safari cache's to no avail.
Edited by: Doctor Dad on Mar 24, 2011 1:10 PM
So, then I rebooted and now I'm not getting the NoClassDef, but instead it's not downloading all my jars. The Java Control Panel isn't showing my JNLP file. The Resources tab of the CP is showing one of my three jar files, the main one. Which implies JNLP is working half heartedly. After all, it found my main jar file, which means it had to have parsed the .jnlp.
Edited by: Doctor Dad on Mar 24, 2011 1:31 PM
And now I notice this in the console window:
java.net.MalformedURLException: no protocol:
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at sun.plugin.liveconnect.SecureInvocation.checkLiveConnectCaller(Unknown Source)
at sun.plugin.liveconnect.SecureInvocation.access$000(Unknown Source)
at sun.plugin.liveconnect.SecureInvocation$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation.CallMethod(Unknown Source)
There's none of my code on that dump, so I have no idea what it's trying to do. But I'm worried that I can't call JavaScript code from Safari.
Edited by: Doctor Dad on Mar 24, 2011 2:11 PM -
Hi Community!
First i�ve got a little question, if i understood it right:
If i write into an JNLP-File this
<resources os="Windows">
<nativelib href="lib/jtwain.dll.jar"/>
</resources>Then Java should copy the DLL into the Windows System32 Directory! Or is this wrong?
My second Question is:
If i let me show the JNLP File in the Java WS Cache (via -- Start-->run-->javaws) the JNLP-File looks like this
<resources>
<jar href="http://localhost:8080/scan/lib/jtwain.dll.jar" download="eager" main="false"/>
<j2se version="1.4+"/>the ressource os tag is away! I don�t know why. I use Tomcat. Can Tomcat manipulate my JNLP File?
I have 2 Resources Blocks. One for the DLL and one for the other jars. Now it�s only one left
Thx a lot
Flo
Message was edited by:
Deficiency1984JNLP File
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- filters: application.name, (ev. client-extensions) -->
<jnlp spec="1.0+" codebase="$$context" href="ScanModul.jnlp">
<information>
<title>ScanModul</title>
<vendor></vendor>
<description></description>
<icon href="AirSea.jpg" width="48" height="48"/>
</information>
<security>
<all-permissions/>
<!-- j2ee-application-client-permissions/ -->
</security>
<resources os="Windows" >
<nativelib href="jtwaindll.jar"/>
</resources>
<resources>
<j2se version="1.4+"/>
<j2se version="1.3+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="lib/launcher.jar"/>
<jar href="lib/ulc-jnlp-client.jar"/>
<jar href="lib/ulc-base-client.jar"/>
<jar href="lib/ulc-base-trusted.jar"/>
<jar href="lib/ulc-servlet-client.jar"/>
<jar href="lib/datechooser-client.jar"/>
<jar href="lib/JFrwDachUi-client.jar"/>
<jar href="lib/JFrwDachTech-client.jar"/>
<jar href="lib/looks-1.3.2.jar"/>
<jar href="lib/JimiProClasses.jar"/>
<jar href="lib/jai_codec.jar"/>
<jar href="lib/jai_core.jar"/>
<jar href="lib/jai_imageio.jar"/>
</resources>
<application-desc main-class="com.dach.appliweb.CustomJnlpLauncher">
<argument>$$context/application</argument>
<argument>60</argument>
</application-desc>
</jnlp>
D:\dev\Java\projects\OthelloScanModul\defaultroot\lib>jar -tf jtwaindll.jar
META-INF/MANIFEST.MF
META-INF/DACH_.SF
META-INF/DACH_.DSA
META-INF/
jtwain.dllI have try it without qualify the dll and the same problem
Java says he can not find it in java.library.path -
Why can't I use WebCT chat with my computer? I get the 'spiral of death' every time I try to type in my chat. I have a feeling it has to do with compatibility issues between Java and Tiger.
Hi Elizabeth,
Do your Mac meet any of these requirements?
http://www.wvnet.edu/services/webct/requirements.html
From this it appears to be PC only!???
http://sourceforge.net/projects/awebctcclient/files/Pancake%20%28it%20own%20proj ect%20now%29/Pancake%20Console%20V1.0.0/PancakeConsole-1.0.0-src.zip/download
Can you provide any more info on which bersion or file you have?
Can you tell us why you need this for your use? -
Embedding The "Java DB" in a JNLP app
Has anyone embedded Sun's "Java DB" in a JNLP application? See http://developers.sun.com/prodtech/javadb/ if you are unfamilar, though the answer would be no in your case.
I have a JNLP system 3/4 complete using HSQL, http://hsqldb.org/ , with 20 tables, views, & about 80 mb of data uncompressed. I take HSQL from source code, and put it right into my signed jar. After removal of the database manager utility & obfuscation, it takes about 300k. While I am happy, I just want to make sure I have made the right choice. Java DB says it's "ideal" for embedding, yet does not even mention Java Webstart. Not confidence inspiring.
The one thing I am interested in that Java DB says it does, but HSQL does not, is datafile encryption.
The things that concern me are:
- Is 2mb, Java DB's jar sizes, cause problems for downloading a jar file?
- Does the encryption turn it into a dog?
- Has anyone ever run both for the same application, and formed an opinon?
I know, I would need to sign Sun's jars for this to have access to the file system. Any other thoughts that would keep me from wasting a week to find out?
Thanks,
JeffI am responding to this because I have an interest in
JWS launched D/B's (embedded or otherwise) and
recently began doing some initial experiments using
the Apache Derby D/B. My experimetns have not
actually progressed to JWS launch of the D/B quite yet.
As such, I cannot comment on most of the things you
asked, however..
The things that concern me are:
- Is 2mb, Java DB's jar sizes, cause problems for
downloading a jar file?For who? The end user?
'It depends'. I would be very angry to be an end-user
that downloads 2 Meg. of data just to have 'scrolling
messages' drift across the screen.
OTOH, if the D/B is vital to my job, a 3-4 minute
download (of classes that are installed and
cached locally) is 'no big deal'.
I know, I would need to sign Sun's jars for this to
have access to the file system. Not necessarily. Web-start offers other mechanisms
for JWS untrusted applications to gain access to local
files (e.g. FileOpenService/FileSaveService).
The code to utilise these JNLP API services is
quite different to the code you might use in the
J2SE though, so it is more a strategy you might
pursue for new a project, where all that code is
yet to be written.
For an existing desktop application that is about to
be wrapped in web-start, it is usually difficult, if
not impossible, to translate what it does into
equivalent JNLP API services, and a lot easier to
sign it and request either 'all-permissions' or
'j2ee-application-client' permissions in the JNLP.
If you need to sign it, Ant makes a light task of it. -
Hi, All,
I just installed BPEL Process Manager 10.1.2 and BPEL Designer 0.9.13. The eclispe I have is 3.1.2 for windows. I started BPEL Process Manager first, then I tried to start BPEL Designer, I got an error "Required Java Version 1.4.1 available 1.3.1_01". I have J2SE Development Kit 5.0 Update 6 installed, why do I still get this error?
Any suggestion would be greatly appreciated!I am getting the same error message. But when I try the command mentioned above
(eclipse -vm c:\jdk1.4.2\jre\bin\javaw -vmargs -Xmx256M) it says eclipse is not a valid internal or external command.
I am running this from command prompt at D:\.
Eclipse is unzipped at D:\Program Files. I am not able to move to Program Files directory as CD Program Files does not work. Please help
Message was edited by:
user492713 -
Java Web Start and JNLP Problem
Hi !
I�m a student and i need your help for a work that i have to do.
I have an aplication that parse an XML file.
The XML file is in ther server, and when i run the aplication with Java Web
Start and jnlp file i want that the application parse a XML file.
is this possible??? how can i do ???
if you dont understand please warn me, that i try to explain better..
thanks, in advance.
Rui Silva , PortugalI'm not sure that you need webstart.
Just an applet will allow you to read a file from the server:
Just open a URL pointing to the .xml file.
Read the file into a buffer and then parse it.
Now actually getting the applet to do something with the contents of the .xml file
is more complicated. Presumably you need to write something which understands the
contents of the .xml and does something in response to the contents.
A signed java program can be run from with in webstart which can spawn processes on
the local machine. os.systemExec("command a b c"); But of course that has cross platform
problems.
Good luck -
Can we call Plain JAVA Code online via MDM Cient
Hi SDNers,
For some validation purpose i need to write a JAVA Code(Some body told me that it can be possible i.e we can Java Code for doing Validation)
i have two Questions.
1. Can we call JAVA Code online via MDM Client.
2. where i have to write this JAVA Code and what will be steps of writing this Code.
Thanx in Advance.Hi Tanveer,
Thanx a lot for ur prompt reply
Pls reply my this Question also promptly i will be highly thankful for it.
Q.
My Requirment is i have to do the validation
"on the basis of acct grp i have to put validation
a. the G/L acct must be in particular range.
b. it must have specific length"
My sr. developer is saying simply putting the IF ELSE condition in the validation Editor technique 'ld be hard to maintain at later stage as we large number of Acct Grps.
He is saying look for some Custom function for it
"SO TELL ME CLEARLY THAT
--CAN I USE JAVA API FOR THIS
--AS A EXP. MDM CONSULTANT WILL U
RECOMMEND IT?
--IF YES
THEN
WHAT 'LD BE EXACT STEPS.
---IF NO
THEN
WHAT ARE THE OTHERS WAYS
i.e
IF U R FACING THIS PROBLEM THEN WAT
SOLN U R GOING TO USE?
PLS
REPLY ASAP as per the exact question(i.e all parts of Q)
i will highly thank for u.
Regards
kuldeep -
Howto execute java jar file via html ?
hi
howto execute java jar file via html ?
could someone pls post a html code ?
kind regards
upiter77hi
howto execute java jar file via html ?You can't.
could someone pls post a html code ?No. you can search for yourself and find the code you need.
Now, it sounds to me like you're trying to build an Applet or do Web Start or something. In any event, you need...wait for it....Google! :-) -
Trying to access the java script files via jar file in WEB SERVER
hi all,
I am trying to access the java script files via jar file ,which is present in Apache webserver in order to minimise the number of hits to app server.some thing like cache ...
in jsp the code goes like this...
<script type="text/javascript" archive="http://localhost:14000/dojo.jar!" src="dojo.jar/parser.js" " ></script>{code}
But i am not able to access the js file which is put in jar file present in the webserver.Hi,
You can use DWR (Direct Web remoting) for that. It is easy AJAX for java. ou can directly call the java script function from java class and also java class from javaScripts..
Regards,
Hardik -
When Leopard comes out, will Tiger still be available?
I'm a nincompoop with computers, when Leopard comes out, will Tiger still be available to purchase? I would rather have OS X Leopard, but I don't know if my powerbook will satisfy the requirements to run it. Have they published the requirements for Leopard? I want to make an informed decision but I'm not sure if time will permit.
Here you can buy previous versions off OSX:
http://www.macsales.com/
MacSales does still sell OSX Panther (version before Tiger). So if Leopard is available for sail you can still buy Tiger there. There are also a lott other store's which do sell previous versions off OSX.
I don't know what model powerbook you have?
If it is a G4 then you can definitely run Leopard on it. Leopard will probably not support any off the Mac's with a G3 processor.
Hopefully this is helpfull or solved your problem.
Please see the "helpfull" and "solved" button's on top off this message! Apple: Why reward points? -
Problem calling java from vb via activex bridge
I am trying to call java from vb via ActiveX Bridge and I am running into problems. I would appreciate any help.
I am using Visual Basic 2010 express, and Java JDK 1.6.0_16. I have used the http://download.oracle.com/javase/1.4.2/docs/guide/beans/axbridge/developerguide/index.html page as a guideline. To try to make it work I took the following steps:
1. Wrote a very simple java class (below):
package xxx;
import java.io.Serializable;
public class axb implements Serializable {
public int get_axb_Handle() {
int Address = 12345678;
return Address;
2. After I compiled, and created the jar file. I built the dll using the following command:
"C:\Program Files\Java\jdk1.6.0_16\bin\packager" -out "C:\Program Files\Java\jdk1.6.0_16\jre\axbridge\bin" E:\axb\dist\axb.jar xxx.axb
3. I then registered using: regsvr32 axb.dll
4. In Visual Basic Express IDE I use Project -> Add Reference to add Iterop.axb (dump below), and axb namespace
5. In my basic code I use the following lines
Dim axb1 As axb.axb
axb1 = New axb.axb <== Crash here with AccessViolationException ( full exception below)
What am I missing? Any help would be greatly appreciated
Thanks
Iterop.axb partial dump
___[MOD] C:\Documents and Settings\Elie A. Cohen.USINC022\My Documents\Visual Studio 2010\Projects\Repo API Example\Repo API Example\obj\x86\Release\Interop.axb.dll
| M A N I F E S T
|___[NSP] axb
| |___[INT] axb.axb
| | | .class interface public abstract auto ansi import /*02000006*/
| | | implements axb.axbDispatch/*02000003*/
| | | implements axb.axbSource_Event/*02000005*/
| | | .custom /*0C000018:0A000001*/ instance void [mscorlib/*23000001*/]System.Runtime.InteropServices.GuidAttribute/*01000002*/::.ctor(string) /* 0A000001 */ = ( 01 00 24 34 45 36 44 30 44 41 38 2D 36 41 45 44 // ..$4E6D0DA8-6AED ...
| | | .custom /*0C000019:0A000007*/ instance void [mscorlib/*23000001*/]System.Runtime.InteropServices.CoClassAttribute/*01000009*/::.ctor(class [mscorlib/*23000001*/]System.Type/*01000007*/) /* 0A000007 */ = ( 01 00 0C 61 78 62 2E 61 78 62 43 6C 61 73 73 00 // ...axb.axbClass. ...
| |
| |___[CLS] axb.axbClass
| | | .class public auto ansi import /*02000004*/
| | | implements axb.axbDispatch/*02000003*/
| | | implements axb.axb/*02000006*/
| | | implements axb.axbSource_Event/*02000005*/
| | | .custom /*0C00000F:0A000008*/ instance void [mscorlib/*23000001*/]System.Runtime.InteropServices.ClassInterfaceAttribute/*0100000A*/::.ctor(int16) /* 0A000008 */ = ( 01 00 00 00 00 00 ) ...
| | | .custom /*0C000010:0A000009*/ instance void [mscorlib/*23000001*/]System.Runtime.InteropServices.ComSourceInterfacesAttribute/*0100000B*/::.ctor(string) /* 0A000009 */ = ( 01 00 0F 61 78 62 2E 61 78 62 53 6F 75 72 63 65 // ...axb.axbSource ...
| | | .custom /*0C000011:0A000001*/ instance void [mscorlib/*23000001*/]System.Runtime.InteropServices.GuidAttribute/*01000002*/::.ctor(string) /* 0A000001 */ = ( 01 00 24 43 44 42 46 36 42 33 33 2D 45 32 33 46 // ..$CDBF6B33-E23F ...
| | | .custom /*0C000012:0A000002*/ instance void [mscorlib/*23000001*/]System.Runtime.InteropServices.TypeLibTypeAttribute/*01000003*/::.ctor(int16) /* 0A000002 */ = ( 01 00 02 00 00 00 ) ...
| | |___[MET] method .ctor : void()
| | |___[MET] method equals : bool(object)
| | |___[MET] method getClass : object()
| | |___[MET] method get_axb_Handle : int32()
| | |___[MET] method hashCode : int32()
| | |___[MET] method notify : void()
| | |___[MET] method notifyAll : void()
| | |___[MET] method toString : string()
| | |___[MET] method wait : object(object,object)
AccessViolationException exception
System.AccessViolationException was unhandled
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=mscorlib
StackTrace:
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at WindowsApplication1.Form1.getPatientHandle_Click(Object sender, EventArgs e) in C:\Documents and Settings\Elie A. Cohen.USINC022\my documents\visual studio 2010\Projects\Repo API Example\Repo API Example\Repo API Example.vb:line 13
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at WindowsApplication1.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:In case you haven't figured it out already... Or if anyone else is curious... Or for myself when I get old and forgetful...
h2. Object Creation
For starters, when you create an ActiveX object from within VB, use:
Set myObject = CreateObject("JavaObject.Bean")When I refer to JavaObject.Bean, I'm meaning the full object name + ".Bean". So, in your case, you should use:
Set myObject = CreateObject("xxx.axb.Bean")h2. Location
The .dll file must be located in the JRE that is used at the time of calling. Meaning, the .dll file must be placed under <jre_home>\axbridge\bin and registered there.
In your case:
DLL:
C:\Program Files\Java\jre6\axbridge\bin
Jar:
C:\Program Files\Java\jre6\axbridge\libh4. A Note:
The only supported JRE is a 32bit version as far as I know with regards to the ActiveX bridge. Just like the packager.exe can only be found in the 32bit JDK.
h2. Methods
h3. Object Types
ActiveX Bridge does not support passing literals or arrays. However, it does support passing java's primitive data types as Objects.
Simply meaning:
h4. Invalid:
public int get_axb_Handle() {
int Address = 12345678;
return Address;
}h4. Valid:
public Integer get_axb_Handle() {
int Address = 12345678;
return Address;
}On a normal circumstance, there's little difference between the two methods. However, in the second example, the JVM does a typecast from a literal data type to a object data type, resulting in a valid object to pass through to Visual Basic. Now, obviously there are multiple ways to do a proper change, new Integer(int) for example. It doesn't matter to me. At the end of the day, you have to pass an object.
As a side note, the same idea applies when receiving data from Visual Basic.
h4. Invalid:
public void set_axb_Handle(int newHandle) {
int Address = newHandle;
}h4. Valid:
public void set_axb_Handle(Integer newHandle) {
int Address =newHandle; -
Trying to install Tiger via external FW drive.
I've got a PowerMac G4 which no longer has an internal CD/DVD drive as it's been displaced by three other large drives for it's use as a fileserver.
It's currently running 10.3.9 and I am trying to upgrade the Mac to run Tiger via an external firewire 400 DVD drive and a vanilla 10.4 retail install. I can get the computer to boot via the external drive, and can run all of it's utilities. AHT and Disk Util show no anomalies.
When I run the actual install however I get the message:
"There were errors installing. Please try again."
And that appears to be as far as I can get. At first (after ruling out disk errors) I thought it was a disk space issue (eg. temporary files) so I freed some more disk space (it's currently 11.6GB free so I figured this should be enough), except I still get the error.
Will OS X only install via an internal ComboDrive or SuperDrive?Turns out my problem wasn't the external firewire drive I was attempting to upgrade with, it was the target disk which had some problems the installer didn't like. With a different drive (which MUST be formatted first!), I was able to install a new copy of OS X and import the majority of settings from the old drive.
Maybe you are looking for
-
Received "1d.so.1 malloc failed killed just before my system went down. Booted into single user with the cd, fsck on unstable disk, tried rebooting the system back into multi- user, but it still won't boot up. Anyone knows what else I should be doing
-
I have Verizon MIFI into our home for internet connection. How can I use this with the Apple Time Capsule? Any inputs would be greatly appreciated.
-
JAVA+UNIX+MS_ACCESS
Anybody knows how to connect to a MsAccess DB located in a unix server ? I tried with jdbc:odbc, but not connect. Thnx !
-
Best Practices for iPhone 6 Trade-In Promotion?
I want to trade in an old iPhone 4 for this iPhone 6 trade-in promotion which would (in theory) net me a $200 gift card (or bill credit) as long as I purchase a new iPhone 6. Great, I'm all over it. I went to the nearby corporate store, iPhone 4 in h
-
I am not able to sync my iphone 4s to my itunes because my mac software is not up to date. What do I need to do?