473,395 Members | 1,443 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Deployment.

Hello,

I have a simple stand-alone mysql database application build with NetBeans
IDE 5.0 on a Windows system. The application uses several libraries. I need
to to deploy this by means of a cd. Is there an automated method for this?
How do I gather and install all the required libraries? I need to be able to
install it on a mactintosh (OS Tiger). Is an installation cd for a macintosh
similar to a installation cd for a Windows system?

I'm new to Java programming. All this is unknown. Any info is welcome,

Thanks.
(Is it me, or is it the learning curve for Java development pretty high in
the beginning. I don't mean the language itself but the incredible amount of
tools to choose from such as the environments (IDE's). I think I downloaded
like 6 applications before ending up with NetBeans and I'm not sure if it's
the correct one. It seems like it can do most of the basic stuff, but I'm
afraid NetBeans is like a layer on top of Java and therefore makes it less
platform-independent. On their site they say this isn't the case. For me
platform-independent was the main reason to try Java.)
Apr 21 '06 #1
2 2737
qwert wrote:
Hello,

I have a simple stand-alone mysql database application build with NetBeans
IDE 5.0 on a Windows system. The application uses several libraries. I need
to to deploy this by means of a cd. Is there an automated method for this?
How do I gather and install all the required libraries? I need to be able to
install it on a mactintosh (OS Tiger). Is an installation cd for a macintosh
similar to a installation cd for a Windows system?

I'm new to Java programming. All this is unknown. Any info is welcome,

Thanks.
(Is it me, or is it the learning curve for Java development pretty high in
the beginning. I don't mean the language itself but the incredible amount of
tools to choose from such as the environments (IDE's). I think I downloaded
like 6 applications before ending up with NetBeans and I'm not sure if it's
the correct one. It seems like it can do most of the basic stuff, but I'm
afraid NetBeans is like a layer on top of Java and therefore makes it less
platform-independent. On their site they say this isn't the case. For me
platform-independent was the main reason to try Java.)

NetBeans is platform independent,
and unless your code uses platform-dependent libraries which don't have
ports for other platforms,
then your code becomes platform-dependent.
For instance LWJGL is a platform-dependent library, but it has ports for
most systems (win, mac and linux, not sure about other *nix systems, but
I expect the linux version runs on most of them).

NetBeans is a pretty good IDE, but a lot of people prefer to Eclipse,
which has become open source and free from what I gather.
I've always used NetBeans and before it changed into two different IDEs
Sun Java ONE Studio(which became a commercial IDE I think as part of the
whole Sun ONE Studio package)...

Anyway,
if you want a Mac specific installation CD, that uses a native Mac
installer and the CD being in the Mac format,
then it would be slightly different from a Win CD.
If you just want a platform independent CD, with a platform independent
installer (for instance made in Java),
then there's no difference.
In the first case scenario, I really don't know what you should do,
first you'd need to be able to burn Mac formatted CDs (Macs can read win
cds as well, but I don't think you can have Mac executables on one),
this could for instance be done with MediaFour's MacDrive, but they
might have another product made specifically for making Mac CDs.
Then you'd need to find some kind of installer software that could be
set up and possibly compiled for mac use on a win machine, which I
suspect isn't easy.

In the latter case, if you need an installer, then there are several out
there for java applications, although I've never used one so I don't
know them specifically I've just seen people talking about them.
So, I don't know exactly which libraries you've used, and how hard they
might be to deploy for a mac system.
If they are platform independent, it's probably just a .jar file or
something similar, which would be really easy to install (just place it
somewhere, and put it in the classpath).
If they are platform specific you need to install the one for the
correct platform and set up the
-Djava.library.path=path/to/native/library option...

Well,
unnecessarily long answer, but hopefully might help some...
Apr 22 '06 #2
Great thanks for your help. Makes sense.
"Sigmund Hansen" <si******@student.hf.uio.no> wrote in message
news:AKf2g.9731$zc1.5518@amstwist00...
qwert wrote:
Hello,

I have a simple stand-alone mysql database application build with NetBeans IDE 5.0 on a Windows system. The application uses several libraries. I need to to deploy this by means of a cd. Is there an automated method for this? How do I gather and install all the required libraries? I need to be able to install it on a mactintosh (OS Tiger). Is an installation cd for a macintosh similar to a installation cd for a Windows system?

I'm new to Java programming. All this is unknown. Any info is welcome,

Thanks.
(Is it me, or is it the learning curve for Java development pretty high in the beginning. I don't mean the language itself but the incredible amount of tools to choose from such as the environments (IDE's). I think I downloaded like 6 applications before ending up with NetBeans and I'm not sure if it's the correct one. It seems like it can do most of the basic stuff, but I'm afraid NetBeans is like a layer on top of Java and therefore makes it less platform-independent. On their site they say this isn't the case. For me
platform-independent was the main reason to try Java.)

NetBeans is platform independent,
and unless your code uses platform-dependent libraries which don't have
ports for other platforms,
then your code becomes platform-dependent.
For instance LWJGL is a platform-dependent library, but it has ports for
most systems (win, mac and linux, not sure about other *nix systems, but
I expect the linux version runs on most of them).

NetBeans is a pretty good IDE, but a lot of people prefer to Eclipse,
which has become open source and free from what I gather.
I've always used NetBeans and before it changed into two different IDEs
Sun Java ONE Studio(which became a commercial IDE I think as part of the
whole Sun ONE Studio package)...

Anyway,
if you want a Mac specific installation CD, that uses a native Mac
installer and the CD being in the Mac format,
then it would be slightly different from a Win CD.
If you just want a platform independent CD, with a platform independent
installer (for instance made in Java),
then there's no difference.
In the first case scenario, I really don't know what you should do,
first you'd need to be able to burn Mac formatted CDs (Macs can read win
cds as well, but I don't think you can have Mac executables on one),
this could for instance be done with MediaFour's MacDrive, but they
might have another product made specifically for making Mac CDs.
Then you'd need to find some kind of installer software that could be
set up and possibly compiled for mac use on a win machine, which I
suspect isn't easy.

In the latter case, if you need an installer, then there are several out
there for java applications, although I've never used one so I don't
know them specifically I've just seen people talking about them.
So, I don't know exactly which libraries you've used, and how hard they
might be to deploy for a mac system.
If they are platform independent, it's probably just a .jar file or
something similar, which would be really easy to install (just place it
somewhere, and put it in the classpath).
If they are platform specific you need to install the one for the
correct platform and set up the
-Djava.library.path=path/to/native/library option...

Well,
unnecessarily long answer, but hopefully might help some...

Apr 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Felix | last post by:
Out of no where I'm starting to get these problems and my Deployment projects won't build anymore. Does anyone have any idea what's causing this? I've tried copying these files from another...
0
by: Mystery Man | last post by:
We want to deploy a large CSharp/SQL Server system. We are successfully using the 'setup project' (under setup and deployment projects) to build our deployed system. With our stored...
4
by: wobbles | last post by:
Hi Everyone, I'm really struggling to get no-touch deployment to work well (if at all, in some cases). Can anyone recommend a good book on this topic? There seem to be a lot of blogs about...
3
by: Steve Brecher | last post by:
VS.NET help on deployment indicates that, while using a deployment project requires administrative access to IIS, " we recommend deploying your project in most cases, because it allows you to take...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
3
by: al | last post by:
Hi, Can someone please tell me what is exactly zero deployment in VB.NET. Is it that .NET doesn't need to deal with the registry? If that is the case, then why MS introduced class registry? ...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
6
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.