Problem installing java mail api1.4.1
i installed javamail api1.4.1 by unzipping and setting the classpath for activation(of JAF) and mail(of JavaMail API).. but when i compile a sample program(progname is msgsend) which already exists in the mainAPI directory, i get a message saying-
java.lang.NoClassDefFoundError: javaapplication13_email/msgsend
Exception in thread "main"
i'm not able to figure out the problem..
I'm guessing you're a beginning Java programmer and you're confused about how directories
and package names work.
Did you put the source code in a "javaapplication13_email" directory? Did you modify the
source code to add a "package javaapplication13_email;" statement?
Are you using the command line "javac" program to compile?
In the directory where msgsend.java is, using "javac msgsend.java" should compile it.
If it's still not working for you, provide more details about what you're doing.
Similar Messages
-
Problem installing Java Applications
Hi there, i have problems installing Java Applications (from Ovi and from another source). The Apps from stores quit with just "there was a error", the other App is more detailed:
Interner Fehler: Jsr plugin com.nokia.mj.impl.chapi.core.utils.
ServiceProviderInstaller cancelled installation
Is it possible that the Java-Handler is missing or faulty? Can this handler be manually installed? Thanks Gerd (E7-00 Anna, clean installation after hardreset)
Solved!
Go to Solution.Sorry about my previous answer, as it's not really an efficient solution.
Skyee put the solution for this issue in another thread
FA136376 I am unable to install any Java apps after the Symbian Anna upgrade, how to fix this?
After upgrading Symbian Anna and starting the Java installation file on the Nokia Symbian^3 device, the following error message may be displayed: Installation failed – internal error: Jsr plugin com.nokia.mj.jmpl.chapi.core.utils.ServiceProviderInstaller cancelled installation. To fix this, install the following java_symbian_anna_fix.sis file: http://dl.nokia.com/ns/java_symbian_anna_fix.sis .
Note: During the installation the file will give the warning message: Application not compatible with phone. Continue anyway. Select yes to proceed. -
Problems installing Java 1.6
I'm having problems installing Java 1.6. I've run software updates several times and the Java 1.6 has not come up for me to install. Could someone please send me a link or other fix for this?
According to your profile, you are on 10.4.11? Java 1.6 is for Mac OS 10.5 - see here:
http://support.apple.com/kb/DL70
So, there is no "fix" - that Java update is for an operating system you do not have; therefore Software won't and shouldn't find it. -
Problem using Java Mail API with WLS 7.0
Hi All,
I am trying to use the Java Mail API provided by WLS 7.0. I have made the
settings metioned in the WLS 7.0 docs. However when I try to run the program I
am getting the following error:
javax.naming.NoInitialContextException: Need to specify class name in environment
or system property, or as an applet parameter, or in an application resource file:
java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
46)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.jav
a:283)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
The code that I have written is as follows
import java.util.*;
import javax.activation.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.naming.*;
import java.io.*;
import java.net.InetAddress;
import java.util.Properties;
import java.util.Date;
public class MailTo {
public static void main(String args[])
try
//Context ic = getInitialContext();
InitialContext ic = new InitialContext();
/* My jndi name is "testSession" */
Session session = (Session) ic.lookup("testSession"); /* THE PROBLEM IS SHOWN
IN THIS LINE */
Properties props = new Properties();
props.put("mail.transport.protocol", "smtp");
props.put("mail.smtp.host", "XX.XX.XX.XX");
/* For security reasons I have written the ip add in this format */
props.put("mail.from", "[email protected]"); /* for security reasons i have
changed the mail address */
Session session2 = session.getInstance(props);
Message msg = new MimeMessage(session2);
msg.setFrom();
msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse("[email protected]",
false));
msg.setSubject("Test Message");
msg.setSentDate(new Date());
MimeBodyPart mbp = new MimeBodyPart();
mbp.setText("This is a mail sent to you using JAVA Mail API and Weblogic Server");
Multipart mp = new MimeMultipart();
mp.addBodyPart(mbp);
msg.setContent(mp);
Transport.send(msg);
catch(Exception e)
e.printStackTrace();
}//end of main
public static Context getInitialContext()
throws NamingException
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL, "t3://localhost:7501/testWebApp");
p.put(Context.SECURITY_PRINCIPAL, "weblogic");
p.put(Context.SECURITY_CREDENTIALS, "weblogic");
return new InitialContext(p);
}//end of class
Can anyone please tell me what is the problem. I thought that we cannot directly
do
InitialContext ic = new InitialContext();
So I had written a method getInitialContext() as shown in the above piece of code,
but that too did not work.
Eagerly awaiting a response.
Jimmy ShahYou can use InitialContext ic = new InitialContext() only if you are using a startup class, servlet or a JSP i.e
server side code.
If you are using a java client you need to use Context ic = getInitialContext();
Try this code
import java.util.*;
import javax.activation.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.naming.*;
import java.io.*;
import java.net.InetAddress;
import java.util.Properties;
import java.util.Date;
public class MailTo {
public static void main(String args[])
try {
Properties h = new Properties();
h.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
h.put(Context.PROVIDER_URL, "t3://localhost:7001");
Context ic = new InitialContext(h);
Session session = (Session) ic.lookup("testSession");
Properties props = new Properties();
props.put("mail.transport.protocol", "smtp");
props.put("mail.smtp.host", "XX.XX.XX.XX");
props.put("mail.from", "[email protected]");
Session session2 = session.getInstance(props);
Message msg = new MimeMessage(session2);
msg.setFrom();
msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse("[email protected]",false));
msg.setSubject("Test Message");
msg.setSentDate(new Date());
MimeBodyPart mbp = new MimeBodyPart();
mbp.setText("This is a mail sent to you using JAVA Mail API and Weblogic Server");
Multipart mp = new MimeMultipart();
mp.addBodyPart(mbp);
msg.setContent(mp);
Transport.send(msg);
catch(Exception e)
e.printStackTrace();
}//end of main
}//end of class
We have shipped a javamail example in the samples\server\src\examples\javamail folder.
Jimmy Shah wrote:
Hi All,
I am trying to use the Java Mail API provided by WLS 7.0. I have made the
settings metioned in the WLS 7.0 docs. However when I try to run the program I
am getting the following error:
javax.naming.NoInitialContextException: Need to specify class name in environment
or system property, or as an applet parameter, or in an application resource file:
java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
46)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.jav
a:283)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
The code that I have written is as follows
import java.util.*;
import javax.activation.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.naming.*;
import java.io.*;
import java.net.InetAddress;
import java.util.Properties;
import java.util.Date;
public class MailTo {
public static void main(String args[])
try
//Context ic = getInitialContext();
InitialContext ic = new InitialContext();
/* My jndi name is "testSession" */
Session session = (Session) ic.lookup("testSession"); /* THE PROBLEM IS SHOWN
IN THIS LINE */
Properties props = new Properties();
props.put("mail.transport.protocol", "smtp");
props.put("mail.smtp.host", "XX.XX.XX.XX");
/* For security reasons I have written the ip add in this format */
props.put("mail.from", "[email protected]"); /* for security reasons i have
changed the mail address */
Session session2 = session.getInstance(props);
Message msg = new MimeMessage(session2);
msg.setFrom();
msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse("[email protected]",
false));
msg.setSubject("Test Message");
msg.setSentDate(new Date());
MimeBodyPart mbp = new MimeBodyPart();
mbp.setText("This is a mail sent to you using JAVA Mail API and Weblogic Server");
Multipart mp = new MimeMultipart();
mp.addBodyPart(mbp);
msg.setContent(mp);
Transport.send(msg);
catch(Exception e)
e.printStackTrace();
}//end of main
public static Context getInitialContext()
throws NamingException
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL, "t3://localhost:7501/testWebApp");
p.put(Context.SECURITY_PRINCIPAL, "weblogic");
p.put(Context.SECURITY_CREDENTIALS, "weblogic");
return new InitialContext(p);
}//end of class
Can anyone please tell me what is the problem. I thought that we cannot directly
do
InitialContext ic = new InitialContext();
So I had written a method getInitialContext() as shown in the above piece of code,
but that too did not work.
Eagerly awaiting a response.
Jimmy Shah--
Rajesh Mirchandani
Developer Relations Engineer
BEA Support -
Problem installing Java EE 6 windows.
I have downloaded the Java EE 6 SDK windows installer. I find that
it progresses to about 40% or 75%, but then refuses to progress any further.
I have Windows 7 64 bit.
What do I do to find an installer for 64 bit Windows and 64 bit Linux that will finish installing?I have run as administrator and found exactly this problem.
The User Interface for the EE 6 JDK is a bit buggy, but I have found that if I resize the lower edge of the window
on an off while it installs, I can successfully get through to 100%.
However, even then, I can't find where it puts javaee.jar v6.
Where does this file go? Is it now only included as a new version of a newer jar inside Glassfish 3, or not?
I just can't install Java EE 6, and have tried downloading the installer again with no success.
Could someone help?
Edited by: 848439 on 08-Dec-2011 21:39 -
Hey im having a problem with Java, tried to install the latest version and i get this message saying i already have it installed and do i want carry on the installation which i do ... then i get a message saying
'windows installer' "this action is only valid for products which are installed"
I have no java icon in my control panel, im thinking i may have got rid of java somehow but my pc thinks i have it but i have no java or update in my add remove programs and again no icon in my control panel at the bottom ..
Is there anyway i can get a fresh install of java ?
and sorry if this message is slightly confusing,im not the best at these things ! If you need any screen shots or other imformation then just ask ..
Thanks if anyone can help !
Edited by: robmatthews on Nov 30, 2008 1:44 PMNo thats not worked either .. basically my pc is sayin i already have it installed,but i can assure u it isnt workin, is there any way to completey remove all java bits and install from stratch ? i keep tryin the java 6 update 10 version but sayin i already have it !
-
Problems installing Java JRE 7 on Mac OS Lion
I have problems installing jre-7u6 on Mac OS Lion 10.7.4. Downloaded the latest version for this OS from the following link http://jdk7.java.net/download.html.
Installation is normally and correctly. But when I try to see in the terminal with the command "java -version" still shows the old version, the new version is not installed.
Somebody can help me?You're reasoning it the wrong way around dude. You should find a mac forum to ask this. The reason is very simple - you need mac users which have run into this before and know how to fix it. Where are you likely to find them?
Well there are likely SOME mac users here, but not as many as on a mac forum... -
Problem installing Java Studio creator2
I was trying to install Java Studio Creato 2 but due to some reason i had to manuaaly "end task" the installation. It was installing Sun java server 8 at that time.
But now every time i try to install it again it hangs up at around 17% and doesnt moves further for more then 30 min.
I tried deleting the temporary files butthta didnt helped
please help me install it
thank you
KshitijThere is also the \windows\system*\productregistry file that might prevent a new installation. I don't know when it's created during the installation but you might want to look if you have one and rename/delete it.
Thanks,
-- Marco
http://blogs.sun.com/marcoscorner -
hi,
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title> Java Mail </title>
</head>
<body>
<form action="newjsp.jsp" method="POST">
<table border="0" align="center" cellpadding="5">
<tbody>
<tr> <td colspan="3" align="center">
<b> Send Mail </b> </td> </tr>
<tr>
<td> To </td> <td> : </td>
<td> <input type="text" name="to" value="" /> </td>
</tr>
<tr>
<td> Subject </td> <td> : </td>
<td> <input type="text" name="subject" value="" /> </td>
</tr>
<tr>
<td> Message </td> <td> : </td>
<td> <textarea name="message" rows="8" cols="30">
</textarea></td>
</tr>
<tr>
<td colspan="3" align="center">
<input type="submit" value="Send Mail" />
<input type="reset" value="Reset" />
<td>
</tr>
</tbody>
</table>
</form>
</body>
</html>
* To change this template, choose Tools | Templates
* and open the template in the editor.
package abc;
* @author bgoyal
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
public class Mail {
private String to;
private String from;
private String message;
private String subject;
private String smtpServ;
* @return the to
public String getTo() {
return to;
* @param to the to to set
public void setTo(String to) {
this.to = to;
* @return the from
public String getFrom() {
return from;
* @param from the from to set
public void setFrom(String from) {
this.from = from;
* @return the message
public String getMessage() {
return message;
* @param message the message to set
public void setMessage(String message) {
this.message = message;
* @return the subject
public String getSubject() {
return subject;
* @param subject the subject to set
public void setSubject(String subject) {
this.subject = subject;
* @return the smtpServ
public String getSmtpServ() {
return smtpServ;
* @param smtpServ the smtpServ to set
public void setSmtpServ(String smtpServ) {
this.smtpServ = smtpServ;
public int sendMail(){
try
Properties props = System.getProperties();
// -- Attaching to default Session, or we could start a new one --
props.put("mail.transport.protocol", "smtp" );
props.put("mail.smtp.starttls.enable","true" );
props.put("mail.smtp.host",smtpServ);
props.put("mail.smtp.auth", "true" );
Authenticator auth = new SMTPAuthenticator();
Session session = Session.getInstance(props, auth);
// -- Create a new message --
Message msg = new MimeMessage(session);
// -- Set the FROM and TO fields --
msg.setFrom(new InternetAddress(from));
msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(to, false));
msg.setSubject(subject);
msg.setText(message);
// -- Set some other header information --
msg.setHeader("MyMail", "Mr. XYZ" );
msg.setSentDate(new Date());
// -- Send the message --
Transport.send(msg);
System.out.println("Message sent to"+to+" OK." );
return 0;
catch (Exception ex)
ex.printStackTrace();
System.out.println("Exception "+ex);
return -1;
// Also include an inner class that is used for authentication purposes
private class SMTPAuthenticator extends javax.mail.Authenticator {
@Override
public PasswordAuthentication getPasswordAuthentication() {
String username = "[email protected]"; // specify your email id here (sender's email id)
String password = "javamail"; // specify your password here
return new PasswordAuthentication(username, password);
}error is
type Status report
message
descriptionThe requested resource () is not available.
<%--
Document : sendMail.jsp
Created on : Aug 11, 2009, 1:50:50 PM
Author : bgoyal
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h1>Hello World!</h1>
<jsp:useBean id="mail" scope="session" class="abc.Mail" />
<jsp:setProperty name="mail" property="to" param="to" />
<jsp:setProperty name="mail" property="from" value="[email protected]" />
<jsp:setProperty name="mail" property="smtpServ" value="smtp.gmail.com" />
<jsp:setProperty name="mail" property="subject" param="subject" />
<jsp:setProperty name="mail" property="message" param="message" />
<%
String to = mail.getTo();
int result;
result = mail.sendMail();
if(result == 0){
out.println(" Mail Successfully Sent to "+to);
else{
out.println(" Mail NOT Sent to "+to);
%>
</body>
</html>And?
-
Problems installing java edition
Hi,
I've encountered several problems during the NW04 java edition installation.
After several locks, I finally discovered that the 1500 MB database log area was full. I then allocated 3000 MB and got the following error during the 'java database load' phase :
ERROR 2005-06-18 23:05:44
CJS-20065 Execution of JLoad tool 'C:\j2sdk1.4.2_08/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;c:\sapdb\programs\runtime\jar\sapdbc.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jce_export.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'J2E,jdbc/pool/J2E,C:\usr\sap\J2E\SYS\global/security/data/SecStore.properties,C:\usr\sap\J2E\SYS\global/security/data/SecStore.key' '-dataDir' 'C:/NW04SneakPrevJavaSP11/NWSneakPreviewSP11/SAP_NetWeaver_04_SR_1_Installation_Master_DVD__ID__51030843\IM01_NT_I386\..\..\SneakPreviewContent\JDMP' '-job' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/IMPORT.XML' '-log' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log'' aborts with returncode 2. Check 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log' and 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.java.log' for more information.
the jload.log says :
18.06.05 22:52 com.sap.inst.jload.Jload dbImport
INFO: trying to delete from table BC_EDM_EVENT
18.06.05 22:52 com.sap.inst.jload.Jload dbImport
INFO: BC_EDM_EVENT deleted
18.06.05 22:52 com.sap.inst.jload.Jload dbImport
SEVERE: DB Error during import of BC_EDM_EVENT
18.06.05 22:52 com.sap.inst.jload.Jload printSQLException
SEVERE: Message: Invalid object 11/23/04 6:00 PM of type java.sql.Date assigned to host variable 5.
18.06.05 22:52 com.sap.inst.jload.Jload printSQLException
SEVERE: SQLState: SAP06
18.06.05 22:52 com.sap.inst.jload.Jload printSQLException
SEVERE: ErrorCode: 1001109
Any help would be appreciated
ThanksMy config is a PC AMD 3500+, 2GB RAM, 200 GB HD, Windows XP SP2.
At the beginning I thought 1GB of RAM wouldn't be enough, so I added another gig but it seems <b>installing NW04 is far from being plug and play</b> (when I thought I was mad after BEA Weblogic Portal )
I started with ABAP MSSQL edition and I went through several system hangs during the installation process then I tried this downloadable edition and it's not better. Damn, my company just chose Netweaver as a BI solution ! Of course we wouldn't use standard PC as a production environment but hey SAP really has some improvements to make here !!
Thanks -
Problems installing Java 7u2 on Windows XP
I have seen lots of posts on this issue but no real solution.
I was able to installed jdk-7u1-windows-i586.exe just fine but jdk-7u2-windows-i586.exe does nothing. I have run it from the command line, and by double clicking the icon but nothing, no windows, errors or anything. Nothing in the the event logs......
Does Oracle have a solution for this problem??user7821113 wrote:
I have seen lots of posts on this issue but no real solution.
I was able to installed jdk-7u1-windows-i586.exe just fine but jdk-7u2-windows-i586.exe does nothing. I have run it from the command line, and by double clicking the icon but nothing, no windows, errors or anything. Nothing in the the event logs......What sort of thing do you expect? Executing jdk-7u2-windows-i586.exe installs the Java runtime (JRE) and the Java compiler. After this the file jdk-7u2-windows-i586.exe can be removed. This will allow you compile and execute Java programs.
>
>
Does Oracle have a solution for this problem??I think the problem is your expectation. -
Problem with Java Mail Program
Hi Everyone...
Please help me to sort out this problem...
I am getting this Exception while executing the code pasted below...
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:306)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at JDCSend.main(JDCSend.java:38)
It's just a simple java program to send an email using JavaMail API
import java.io.*;
import java.util.*;
import javax.mail.*;
import javax.mail.event.*;
import javax.mail.internet.*;
import java.util.Properties;
public class JDCSend {
public static void main (String args[]) {
try{
String from = "[email protected]";
String to = "[email protected]";
String host = "smtp.yahoo.com";
// Get system properties
Properties props = System.getProperties();
props.put("mail.smtp.host", host);
props.put("mail.smtp.port", 465);
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.starttls.enable","true");
// Get session
Session session = Session.getDefaultInstance(props, null);
// Define message
MimeMessage message = new MimeMessage(session);
message.setFrom(new InternetAddress(from));
message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
message.setSubject("Hello, JDC");
message.setText("Welcome to the JDC");
// Send message
Transport.send(message);
catch(Exception e){ e.printStackTrace(); }
}You need to be identified by stmp server :
// Send message with authentication!
Transport tr = session.getTransport("smtp");
tr.connect(MailHost, user, pass);
message.saveChanges(); // don't forget this
tr.sendMessage(message, message.getAllRecipients());
tr.close();
Read JavaMail Faq please! -
Problem installing java plugin from jre 1.4.0 on netscape 4.79
We tried to install the newest java plugin on netscape
4.79 on our Solaris 2.8 machine. Followed the instruction, we first downloaded j2re-1_4_0-solsparc.sh, ran the script to create a
directory called j2re1.4.0, then set the NPX_PLUGIN_PATH environment variable to the directory
containing the javaplugin.so file. When we tried to
start netscape, we got the following error message:
INTERNAL ERROR on Browser End: Could not load the function CreateOJIFactory
System error?:: No such file or directory
What is the problem? Any fix?
ThanksHi,
From your description, it seems you've read http://java.sun.com/j2se/1.4/install-solaris.html#plugin . This also states that the supported Netscape builds go up to 4.77 before moving on to Netscape 6.x. And in this case it appears that this isn't just because the documentation hasn't kept up with recent activity from Netscape. Netscape 4.79 appears to treat the plugin differently, and/or still expect the old Activator code to be in place to use it.
I'm using the 1.4.0 JRE with no trouble at all with Netscape 7.0PR1. If anything this - and the Mozilla 1.0RC2 build that it's based on - are far more stable than any of the NS4.x releases. The only reason I can see for staying with 4.x is that it'd little more lax with the HTML it reads, and displays some bad pages that NS6/7 refuses to display.
Recent Solaris releases come with Netscape 6 as well, and it's easily downloadable. I'm sorry I can't be more help than this.
Mark Bowyer.
Sun Developer Technical Support. -
Problems Installing JAVA 2 SDK and Forte4J CE 3.0 on Win98 - HELP !!!!
I have downloaded JAVA 2 SDK, SE v.1.4.0 and Forte for Java CE 3.0 without any trouble, but when I go to install it, I get stuck at the SDK installation screen, and nothing happens.
I did restart my computer after downoading the file, but that did not help. I have been looking at the installation screen now for about an hour. What do I do? Please, somebody help me.
Thanks.
IwonaI had a similar problem with J2SDK 1.4.0 and Forte
3.0 on a Win98 box. Realizing that J2SDK 1.4.0 is a
BETA release, I dropped back to J2SDK 1.3.0_02. It
works fine!
Regards,
Mark -
Problems Installing Java Studio Enterprise 8.1 - Windows Vista
I am entirely new to the Java language and environment. I am trying to install the JSE 8.1. First I installed JDK 6.4 (jdk-6u4-windows-i586-p.exe), which seemed to go OK. Then I attempted to install the JSE (jstudio_ent81-ml-windows.exe).
First, it did not find a JRE and prompted me to specify, which I did (specified the java.exe within the JDK (Program Files/java/jdk1.6.0_04/bin). The installation continued for a while and then it tells me that "it cannot run the installer in graphical mode - check the DISPLAY environment variable". At this point is closes and that's the end of it. I see no trace of either the JDK nor the JSE in the Start/Programs folder.
Am I doing something wrong? Is Vista a non-starter?
Thanks,
KevankKevank,
Thank you for trying out Sun-sponsored Java developer tools. However in the case of Java Studio Enterprise (JSE) there are two issues here:
1) JSE is not supported on the Windows Vista OS and probably will not run correctly even if it were installable, see http://developers.sun.com/jsenterprise/reference/docs/jse8_1/sjse_relnotes81.html and
2) The latest Java developer tools technology is to be found in the free NetBeans 6.0 IDE at http://www.netbeans.org/ . It is strongly recommended, especially if you are a developer new to Java, that you start out using the NetBeans IDE, which is not only supported on Vista (see http://www.netbeans.org/community/releases/60/relnotes.html#system_requirements ), but also contains the Java Enterprise application development features found in JSE, see http://www.netbeans.org/features/ .
If you have any questions on this please feel free to let us know on the forum.
Regards,
-Brad Mayer
Maybe you are looking for
-
Copy fonts to hard drive causes size to be zero k.
iMac intel OS10.6.5 We use fonts from various customers. They reside with other files on a file server. When needed, we copy to local hard drive to activate using Suitcase Fusion 3. We have noticed that sometimes the Font Suitcase file loses its size
-
I just upgraded from Logic pro 9 to Logic Pro X on my computer, but all my EXS24 libraries are missing all of a sudden. How do i Get them back??? I have checked both the resource folders, and made backups from Logic pro 9, but its not recognizing th
-
Change image color -- black and white
Hello, I have an image that is black and white, and I want to color parts of it with a brush. However, when I try to change the color, it won't change -- it jsut changes to a different shade of grey! What can I do? //Tyler
-
1.1 to 1.2 migration problem
Hi; i am trying to port my JSF app to 1.2 from 1.1 i was able to get my application deployed on tomcat6 without any modifications but when trying to access my first page i get: Aug 9, 2007 5:52:07 AM com.sun.faces.lifecycle.LifecycleImpl phase SEVERE
-
Can you search two artists at once in itunes
I wanted to listen to two different artists and I know I can just make a playlist and that's that, but I was wondering if there was a way to search for both artists at once like perhaps if in the search bar i could type "dante; turtl" and that would