MRJ SDK equivalence
Can anyone tell me or direct me to a reference that will inform me what Windows SDK, JDK and JRE are equivalent to the Mac MRJ 2.2.5 and/or MRJ 2.2.6? I am having problems transporting Java source code between platforms (using the same IDE on both) and it appears that the two platforms are not "on the same page" so to speak. Not only is there a display difference between platforms but on the same platform (Windows 98) the display is different when it is run from the IDE and as a stand-alone.
First let me pass on some information that I ran across by accident regarding JRE versions. Check the website <http://ZeroG.com/goto/vmpacks> which contains about 7 pages of JRE listings for every conceivable platform. There is nothing about JDK's as such but by inference the JDK's should have the same version numbers as the JRE. Also note the references to Mac "Classic" (System 9) and Mac System X that are in the list.
Note to drtbkr2001:
Thank a million! That is the most lucid explanation that I've received since I started messing with Java!
Your explanation of the Java2 thing is something that I suspected but could never verify. It appears that Sun made a grievous error when they did not go to a 2.x.x naming convention when they added Swing to Java or at least provide a document that explained what they did with the version numbers.
I'm still a little hazy about what the IDE is doing on the different platforms. First, a little basic information. I have three different machines with an IDE installed. A Mac PowerBook 400 and a Windows 98 machine with CodeWarrior v7 and a PowerMac G5 with CodeWarrior v9.
The Macs have MRJ 2.2.5 and MRJ 2.2.6 respectively and I assume they do not require a JDK/SDK or JRE since these functions are povided by the MRJ's and that MRJ 2.2.x provides the basis for compilation AND the run-time enviornment on those machines. On the Windows machine the IDE should be using JDK/SDK 1.4.2 to compile and run the application from the "run" command of the IDE and JRE1.4.2 to "run" the application as a stand-alone.
Please correct me if I am wrong in any of these assumptions.
Similar Messages
-
I need to produce a Java program (not an applet) that can be run on an OS 9 Mac. This is for our clients who use OS 9 and have good reasons for not upgrading.
Unfortunately that seems to need an old version of the MRJ SDK, which I cannot find on Apple or Sun's websites or anywhere else. Does anyone know where I can find it? Alternatively, is there a way I can produce a Java "executable" on a more modern machine that will run on an OS 9 Mac?
Thanks,
BrianFinally! Found it, in a link on a no-longer-present page that even Google has forgotten, but Yahoo still has cached, to:
ftp://ftp.apple.com/developer/Development_Kits/MRJ_SDK_2.2_Install.sit.hqx
...to which there is no longer an actual LINK on Apple's site.
But I found it anyway, and it did the job. -
How to run start.sh file of Tomcat4.0.1 on Mac os 8.6
Hi there,
Iam new to Mac operating system and iam trying to work on Mac os 8.6.I am trying to install Tomcat on Mac os 8.6.For that I download jakarta-tomcat-4.0.1.tar from appache site.I also extract it in my desktopfolder directly.For running start.sh file I prepare my own Tomcat_Start.sh like that:-
(#!/bin/sh
export CATALINA_HOME=/sun/desktopfolder/jakarta-tomcat-4.0.1
export JAVA_HOME=/sun/desktopfolder/MRJSDK 2.2/Tools/JDK Tools)
In Mac os 8.6 I installed MRJ2.2.4(based on jdk1.1.8) and MRJ SDK 2.2 for Java runtime enviornment.I tried with one java file and it is working perfectly that means JVM working perfectly.But I don't know how I run this Tomcat_Start.sh file on Mac.I already worked with Tomact on Windows operating system.In windows I excecute start.bat file on Dos-prompt.Can any one tell how and where I can execute my Tomcat_Strat.sh file on Mac os 8.6.And which version of Tomact support MRJ2.2.4 which is based on jdk1.1.8. It is required for my one application to install Tomcat on Mac.Presently Iam working On WinNT4.0.Any Help will be highly appreciated.
Thanks for ur Valuable Time
BikashIam new to Mac operating system and iam trying to work
on Mac os 8.6.I am trying to install Tomcat on Mac os
8.6.For that I download jakarta-tomcat-4.0.1.tar from
appache site.I also extract it in my desktopfolder
directly.For running start.sh file I prepare my own
Tomcat_Start.sh like that:-.sh files are usually Shell scripts for UNIX shells. I don't think Mac OS 8.6 has a shell interpreter (could be wrong. :/) so getting it to work is going to be difficult, if not impossible.
If you have Mac OS X, however, I believe it could work on there. Not sure of exact details though.
Bhav -
How to install easyIO on Mac OS X (10.2.8)?
Hi, I began using MRJ SDK yesterday, but i cant get the compiler Javac to simply find the package easyIO, which iin the source file was imported by following command: import easyIO.*;
What should i do?You may also want to check out:
http://wiki.java.net/bin/view/Javapedia?topic=MacOSX -
hi. i have MRJ SDK 2.2. "s1" is an String input by the user. when i try to convert it using:
double number1 = Double.parseDouble( s1 );
i get an error saying:
Method parseDouble(java.lang.String) not found in class java.lang.Double.
when i run this program on Windows, it works fine, but how come i can't get it to work on my Mac?
and don't say it's because "Macs suck" ;)
i find both useful in there own ways.
thanksHello skribles,
If what you are saying is true, then you should report it to Apple. It sounds very much like a bug.
-Merwyn,
Developer Technical Support,
http://www.sun.com/developers/support. -
Help with BufferedStream in MacOs
I just started Learning java using mac and the MRJ 2.25
and MRJ SDK 2.2. I'm tryint to write some very basic Io stuff and it just isn't working. Everything works fine(out put, arrays, arithmatic) except for input. my code is as follows
import java.io.*;
public class test
public static void main(String [] args) throws Exception
InputStreamReader input = new InputStreamReader (system.in);
BufferedReader in = new BufferedReader(input);
System.out.println("enter a string: ");
String x = in.readLine();
System.out.println(x);
the output for this is : enter a string:
null
and then it terminates. it never lets the user input and seems to be skipping the readLine command alltogether and not initilizing x. I have no clue how to fix this. Is this just a mac thing? please helpTry this:
import java.io.*;
public class IoTest {
public static void main(String [] args) throws Exception {
InputStreamReader input = new InputStreamReader(System.in);
BufferedReader in = new BufferedReader(input);
System.out.println("enter a string: ");
String x;
while ((x = in.readLine()) != null) {
System.out.println(x);
} -
I just started programming in java, and i download the mrj sdk and the mrj runtime environment. i've been trying to compile a very simple ap using the parseDouble() method of the class Double, but i get the following error message:
Method parseDouble(java.lang.String) not found in class java.lang.Double.
i downloaded the latest versions of the mrj sdk and mrj runtime - so what's the problem?
thanks in advance
brianThats because that method doesn't exist. Check it out.
http://java.sun.com/products/jdk/1.1/docs/api/java.lang.Double.html
Try using the following, I think it works.
try
double d = Double.valueOf( "123.456" ).doubleValue() ;
} catch( Exception e ) {} -
Trouble starting javac on Macintosh
I'm absolutely new to Java, but need to get to know it for a scholl project. Here is my problem:
Having downloaded MRJ and MRJ SDK 2.2 from the web I tried to start it on our G3 Mac. But I always get an error message:
The main class "com/apple/mrj/sdk/apps/Javac" could not be loaded. Either it is not in the calsspath, or it has a static initialiser not in the classpath."
How do I go about getting javac to open???
Please help.
Laura PenningtonHow exactly are you trying to invoke javac? I use MPW on Mac OS 9.1 and so I have shell script that invokes javac for me. Works like a charm.
-
Start the J2EE SDK in the foreground on Windows
I have upgraded my development AS from Sun ONE 7 to J2EE SDK 8.1. One feature I miss most is: 7 used to live in a "Command Prompt" box where I could watch the log go by and sometimes press Ctrl+Break for a full thread dump.
Apparently 8.1 starts everything as a background process, and Windows lacks the equivalents of "tail -f server.log" and "kill -QUIT <pid>".
Is there a way to start 8.1 in the foreground, so that I can watch the log in real-time and generate a thread dump?You are right, domain creation requires config/asenv.bat file to be in place.
It is possible that asenv.bat file did not get created properly due to incomplete uninstallation of the previous installation. To start from the scratch, follow the instructions in section 3 of this article:
https://j2ee-sdk.dev.java.net/howtos/J2EE_SDK_Installation_HOWTO.html#p3
(so, either install in a different location or cleanup component registration info).
If installation on the clean system fails again please post any errors. -
Where are C++ Standard Library Classes for Unicode RFC SDK?
I have the Unicode RFC SDK and there is a document (sapucdoc.htm) that explains that the C++ standard library classes have SAP_ equivalents. For example:
string --> SAP_string
It then says that header files for these classes are named SAP<standard lib name>.hpp. So for the string class:
string.h --> SAPstring.hpp
The rfcsdk/include directory does not contain any of the header files. Where can I find these header files and possibly libraries I need to use the standard C++ libraries with this version of the RFC SDK?
Thanks.Those icons are not accessible directly.
Try setting the appropriate button type, like following code uses "info light" type to show the "i" icon.
{cod}
UIButton *aboutButton=[UIButton buttonWithType: UIButtonTypeInfoLight];
{code} -
Upgrading to MRJ 2.2.6?
I am running a Power Mac G3 450 MHz with MRJ 2.2.3.
I’d like to upgrade.
Can I leap up to MRJ 2.2.6 and have it all or do I need to install SDK 2.2.4 followed by 2.2.5 before installing 2.2.6?
Will it speed up my browser?Hi, HappyWarlock -
The max upgrade for most users on OS 9 is MRJ 2.2.5; the v. 2.2.6 update is intended for certain users of Oracle. From the download page for MRJ 2.2.6 -
"It is recommended that you only update to MRJ 2.2.6 if you need to use Oracle 11i client applications over HTTPS and that your Oracle software is properly configured to support HTTPS communication with Mac OS 9 clients."
You can install the MRJ 2.2.5 update without installing previous versions.
Will it speed up my browser?
Not exactly. It should improve handling of webpages which include Java, but is not intended as a general speed improver for the browser. -
Flex SDK 4.6 is out but...
...where are the Spark ViewStack, Accordion, DateField, DateChooser and an enhanced DataGrid components as announced few days ago :
http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.html
Can anyone link the changelog for 4.6 please ?
TIAProbably months. We have to get the project set up in Apache, then contribute the code, then figure out any sort of release schedule. There are rough prototypes for many of these controls on my blog although what we expect to contribute to Apache will be based on different code, and a few third party folks have worked on ViewStack equivalents, although states can work just as well if not better.
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui -
Error in Printing Crystal Report Directly to Printer using SDK Code
Hello ,
I am trying to print a crystal report created in SAP Crystal Reports 2008 through SDk Code using one parameter
as (Document Number).But While running the Code the Report is not getting printed and also the system is
not able to fetch the correct data in the report using the supplied parameter .
I am using Visual Studio 2005 Crystal Report dll s in my code :-
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports CrystalDecisions.CrystalReports
Imports System
Imports System.Data.SqlClient
Imports System.IO
For Clarification i am pasting my code below :-
Dim oRpt As ReportDocument
oRpt = New ReportDocument
oRpt.Load(Path)
With crConnectionInfo
.ServerName = Server
.DatabaseName = Database
.UserID = User
.Password = Password
End With
CrTables = oRpt.Database.Tables
For Each CrTable In CrTables
crtableLogoninfo = CrTable.LogOnInfo
crtableLogoninfo.ConnectionInfo = crConnectionInfo
CrTable.ApplyLogOnInfo(crtableLogoninfo)
Next
oRpt.ParameterFields("Document Number").CurrentValues.AddValue(Parameter)
If Printer <> "" Then
oRpt.PrintOptions.PrinterName = Printer
End If
oRpt.PrintToPrinter(Copies, False, 0, 1)
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
Please suggest me what i have to do in my code to print the report with correct data in report.
Thanks & Regards,
Amitk
-
Print a report in crystal Report using SDK
Hi Dear;
any body can publish a sample code how can i print a report built in crystal report using SDK?
regards;Hi Dany,
Hope the following code will help u .
before calling the function make a XML by using dataset.writexml, in which you have to pass the name of your stored procedure.
for this you have to decalre commantype as stored procedure.
first parameter of this is rpt name . asecon paramer is ur xml name which you got from DAtaset.writexml.
Sub ShowReport(ByVal rptName As String, ByVal SourceXML As String)
Try
Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
rptDoc.Load(rptPath)
For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
oSubReport = rptObject
rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
End If
Next
Next
rptView.ReportSource = rptDoc
rptView.Show()
Dim oFrm As New System.Windows.Forms.Form
rptView.DisplayGroupTree = False
rptView.Dock = System.Windows.Forms.DockStyle.Fill
rptView.Location = New System.Drawing.Point(0, 0)
oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
oFrm.Controls.Add(rptView)
oFrm.Name = "rptForm"
oFrm.Text = "rptForm"
oFrm.ResumeLayout(False)
oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
oFrm.TopMost = True
oFrm.ShowDialog()
Catch ex As Exception
oApplication.MessageBox(ex.Message)
End Try
End Sub -
Is there a way to create a virtual network using C# and the Azure SDK/API?
I don't see a clear way to create an Azure Virtual Network using the SDK.
I have all the methods to create the virtual network configuration, but no way to submit it:
IList<string> VirtualNetworkAddressPrefixes = new List<string>();
IList<string> LocalNetworkAddressPrefixes = new List<string>();
IList<NetworkListResponse.DnsServer> DNSServers = new List<NetworkListResponse.DnsServer>();
IList<NetworkListResponse.Subnet> Subnets = new List<NetworkListResponse.Subnet>();
NetworkListResponse.Gateway Gateway = new NetworkListResponse.Gateway();
IList<NetworkListResponse.LocalNetworkSite> LocalSites = new List<NetworkListResponse.LocalNetworkSite>();
IList<NetworkListResponse.Connection> Connections = new List<NetworkListResponse.Connection>();
VirtualNetworkAddressPrefixes.Add("a.b.c.d/cidr");
DNSServers.Add(new NetworkListResponse.DnsServer() { Name = "TestDNS1", Address = "a.b.c.d" });
Subnets.Add(new NetworkListResponse.Subnet() { Name = "Subnet-1", AddressPrefix = "a.b.c.d/cidr" });
Subnets.Add(new NetworkListResponse.Subnet() { Name = "GatewaySubnet", AddressPrefix = "a.b.c.d/cidr" });
Connections.Add(new NetworkListResponse.Connection() { Type = LocalNetworkConnectionType.IPSecurity });
LocalNetworkAddressPrefixes.Add("a.b.c.d/cidr");
LocalSites.Add(new NetworkListResponse.LocalNetworkSite()
Name = "On-Prem",
Connections = Connections,
VpnGatewayAddress = "a.b.c.d",
AddressSpace = new NetworkListResponse.AddressSpace() { AddressPrefixes = LocalNetworkAddressPrefixes }
Gateway.Sites = LocalSites;
Gateway.Profile = GatewayProfile.ExtraLarge;
NetworkManagementClient netMgmtClient = new NetworkManagementClient(CloudCredentials);
NetworkListResponse netlistresp = GlobalSettings.mainWindow.netMgmtClient.Networks.List();
netlistresp.VirtualNetworkSites
.Add(new NetworkListResponse.VirtualNetworkSite()
Name = "TestVirtualNetwork",
AddressSpace = new NetworkListResponse.AddressSpace() { AddressPrefixes = VirtualNetworkAddressPrefixes },
DnsServers = DNSServers,
Subnets = Subnets,
AffinityGroup = "East US",
Gateway = Gateway,
Label = "LabelValue"
I have also created the entire XML response and sent it to the NetworkManagementClient -> Networks.SetConfiguration() method, but it appears this command expects the virtual network to already be in existence. If anyone could give guidance, it would be
appreciated.Hi,
As discuss above , we have to create the XML response ,before that first you have to
GetConfiguration() details of existing virtual network.
string.format("@<NetworkConfiguration xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://schemas.microsoft.com/ServiceHosting/2011/07/NetworkConfiguration'>
<VirtualNetworkConfiguration>
<Dns />
<VirtualNetworkSites>
<VirtualNetworkSite name=""{0}"" Location=""{1}"">
<AddressSpace>
<AddressPrefix>10.0.0.0/8</AddressPrefix>
</AddressSpace>
<Subnets>
<Subnet name=""Subnet-2"">
<AddressPrefix>10.0.0.0/11</AddressPrefix>
</Subnet>
</Subnets>
</VirtualNetworkSite>",Networkname,location)+(@"<VirtualNetworkSite name=""demodsf1"" Location=""West Europe"">
<AddressSpace>
<AddressPrefix>10.0.0.0/8</AddressPrefix>
</AddressSpace>
<Subnets>
<Subnet name=""Subnet-1"">
<AddressPrefix>10.0.0.0/11</AddressPrefix>
</Subnet>
</Subnets>
</VirtualNetworkSite> </VirtualNetworkSites>
</VirtualNetworkConfiguration>
</NetworkConfiguration>")
you have to append the node for existing node with new values , i got it its adding new virtual network
Best regards,
Maybe you are looking for
-
Java script not working..help plzzzz
i am trying to do the following but not getting the result..help me plzzz admin.jsp <html> <script language="JavaScript"> function compare() var name1; var pwd1; var repwd1; name1=name.value; out.println(name1); </script> <body> <%@ page language="ja
-
Whenever I click on somewhere in Safari, I get a message "A keychain cannot be found to store Safari" I can click on an link, or just an empty space on a page. I can cancel, and things seem ok, or I can Reset to Defaults, which I am not sure I want t
-
My "other" section is very large
My "other" section is very large - 6gb - according to iTunes. How do I fix this issue?
-
Comments: Optimizing Current Path
I have seen this type of thread more than once, and each reply (that I have noticed) seems to get a different VI or sub VI for the same solution. Thought I would start up a "optimize this" thread to get the best general solution. The one I made is sm
-
Logic Pro X on MacBook Pro C2D 2,4Ghz ?
Hi Guys! I have old C2D 2,4Ghz Macbook Pro. And I wondering how will be work on it Logic Pro X. For today I'm working on Ableton Live but... I hate his interface and I want to change for different DAW. I have Mountain Lion Installed on this macbook a