Can't run java at all
Hello!
I have a 600 megahertz Intel Pentium III machine running Windows 98 SE. I use the following browsers: Netscape 4.79, 6.2 and internet explorer 6.
I was able to run java applications on my computer very well. I purchased a program to make web buttons. The program worked very well for a time and it just stop working after a while. I contacted them and was told to upgrade my jvm machine by downloading the newest msjavx86.exe from microsoft and installing it to see if it will solve my problems. It did not work.
I get this message everytime that I try to use the program:
"Can't find the file "BtnAuthor.class" can't execute class "
I'm unable to run any java and all I see are grey boxes with codes. Any idea of what could be wrong or how to fix this problem.
Thanks for your time at reading this
Ann :-)
Well, I'm quite unfamiliar with this. I just opened the java console on netscape 4.79 (my favorite) and I got the following:
Netscape Communications Corporation -- Java 1.1.5
Type '?' for options.
Symantec Java! ByteCode Compiler Version 210.065
Copyright (C) 1996-97 Symantec Corporation
Then I pressed the "?" and got the following:
Netscape Communications Corporation -- Java 1.1.5
Type '?' for options.
Symantec Java! ByteCode Compiler Version 210.065
Copyright (C) 1996-97 Symantec Corporation
Netscape Java Console Commands:
b: break into the debugger (Windows only)
c: clear console window
d: dump applet context state to console
f: finalize objects on finalization queue
g: garbage collect
h: print this help message
l: capture all classes loaded by an applet to a directory
m: print current memory use to console
q: hide console
s: dump memory summary to "memory.out"
t: dump thread info to "memory.out"
x: dump memory to "memory.out"
X: dump memory (detailed) to "memory.out"
0-9: set applet debug level to <n>
I'm not sure if I should explore any of this options at this time. I have no idea of how to write a simple java on my own. The button program was supposed to do the writing and I was just supposed to paste it it in the html.
Thanks for helping me! :-)
Similar Messages
-
Can we run java programms on Windows XP?
Hi experts..
I installed JDK on Microsoft Windows XP Home Edition..but i am unable to run java programmes.
can i run java programmes on Windows XP?? if so how??
i will be very thankful..if any one solve this problem..Yes, you can. There's a bunch of things you need to do (mostly setting the path environment variable). You should look at the documentation that came with the JDK, and check out the many forum responses to problems in setting up the JDK on Win 2K and Win XP.
HTH -
Can't run Java on windows xp home
I have just downloaded jdk 5 on my windows xp home, and set PATH and CLASSPATH. But i still can't run java commands on cmd.
Please help.when in the cmd prompt and you type "java" do you get the following?
C:\>java
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertionsif not, please follow the instructions on this website on setting up the latest jdk.
http://www.discussjava.com/joomla/index.php?option=com_jd-wiki&Itemid=68&id=index:setting_up_the_1.5_jdk
let me know if it is any help.
null -
ID CS5 on Mac 10.5.8 can't run java scripts from User folder
I seem to have a problem with my java scripts in ID on my Mac. I store them in my user scripts folder, but while I can run any applescripts in the folder, doubleclicking on any of the java scripts gets me exactly nothing. If I open the scripts in Extend Script Toolkit and run them from there, they will work, but I can't run them from within ID. The scripts in the Sample Script folder work. I've tried changing the script extentions, I've opened them in the toolkit and resaved them. Still no response at all when I doubleclick on them in the scripts panel. Any idea what could be wrong? I can run the same scripts from within ID on my Windows laptop, so I don't think the scripts themselves are at fault. In fact, I just moved them into the Sample scripts folder, and they run with no problem. Does the User script folder just not work?
Not sure what a screenshot will tell you, but here you go.
Well, I was hoping that the icon next to the scripts would be instructive.
Apparently not, though!
You said the same scripts work fine if you move them into the Application Scripts folder, specifically the Sample Scripts folder. I assume, then, that the sample scripts also break if moved to the User Scripts folder?
Is your User Scripts folder (and thus your home directory) on a non-local (network) filesystem? Are the permissions on it wacky? If you Reveal In Finder it, and Get Info, do you see anything out of the ordinary?
What if you delete it (err, move it aside) and recreate it?
This seems pretty strange... -
Can't run java program with GUI
My computer can run java program properly.
However, for those program with GUI (using swing),
my computer is unable to display the GUI.
What's wrong with it? Is there any PATH I need to set before running GUI program?
Thanks
icedgoldCut, copy, paste then compile and run this;-import java.awt.*;
import javax.swing.*;
public class MyJFrame extends JFrame {
public MyJFrame() {
super("My first JFrame");
Container c = getContentPane();
JPanel panel = new JPanel();
panel.setBackground(Color.white);// (new Color(255, 255, 255));
JLabel jl = new JLabel("Yes it works");
panel.add(jl);
c.add(panel);
public static void main(String[] args) {
MyJFrame frame = new MyJFrame();
frame.setSize(180,120);
frame.setLocation(200, 300);
frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
frame.setVisible(true);
} -
Can we run java bean from forms client server??
Hi,
The OLTP application we are planning to build has lot of gui e.g
tabs, drag and drop etc. Our aim is to make it web enabled but
the network bandwidth available is small 16 - 64K . So even
thoughwe plan toi use applet , we seriuosly doubt how good it
will perform on such low network bandwidth. [The system will
have 100 users]
Q1. What will be a reasonable bandwidth to run an oltp
application (say maintenance )
Hence we are thinking of developing with developer 6i and
deploying our application in client server mode, which can
easily be web enabled in future. But we also have to integrate
visual interfaces like gantt chart, which are not available with
forms. We plan to use third party java component (e.g ILOG
jviews), so that in future we can easily web enable the entire
application.
Q2. Can we run forms with java bean in client server mode? If
not, what are the products to be installed on each machine to
run it without using 9ias?
best regardsYes. We can run sql loader from client machine.
C:\Karthik>sqlldr user/pass@database data='test.csv' control='test.ctl' log='test.log' bad='test.bad'
You can go through the following link for better understanding.
http://www.oreilly.com/catalog/orsqlloader/chapter/ch01.html -
How can I run java in Window XP?
Hi, all;
Since MS didn't support JVM in window XP, do anyone have any idea to run java in Window XP? Thanks for helps.Hi, all;
Since MS didn't support JVM in window XP, do
, do anyone have any idea to run java in Window XP?
Thanks for helps.The MS version of Java was not up to date, and for most purposes (like using in Java 2 technology) you have had to download a Sun or IBM JVM anyway. The fact that Microsoft doesn't have a JVM is fine with me save the lack of a JVM in IE 6.x.
Chuck -
Can't Run Java Programs -- java.lang.NoClassDefFoundError Error
I am running 10.4.11. For some reason I can no longer run Java programs. (I could in the past)
For example. I create a simple Hello World program as follows and save it as Hello.java:
class HelloWorld
public static void main (String args[])
System.out.println("Hello, world!");
Then I compile it:
Javac Hello.java
Then I try to run it:
java Hello
But I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: Hello
I think it must be a CLASSPATH problem but normally you do not need to worry about ClassPATH. Apple sets it up for you out of the box.
What is wrong?I totally forgot that the class name should be the same as the filename.
After I renamed the file to HelloWorld.java and recompiled, I could run "java HelloWorld"
Rob -
How can i run java application at system startup just liks as services
How we can run java application at the time of system
starts up just like as services.Hi,
At first you have to create an exe of the class file.
for that go to the site www.duckware.com/java2exe.html
Click on the j2exe23c.exe(75k) download it and install in ur system. convert the class file to windows exe.
The put the exe in the startup folder in windows.
If ur not able to find that folder search for it and put that exe in that folder. -
How can i run java file by double click like Visual basic
i have to run java file by giving a command on DOS promtp.But in Visual basic i easily make a .exe file to run my program. Does java provide this thing?
please help me.If you have intaled a JRE in your computer, at leasrt in windows, the .jar files are asociated with the VM, so a double click on them will execute the, thats how things work on my computer, with jdk 1.4 installed.
Abraham. -
How can i run Java class form other java application.
Hi ,
I have problem to run java class from my java application,
I am using the class ClassLoader in order to launched the Java class , it�s work fine whenever, the class exist in the same folder , however , when i am trying to run class that is not in the current folder ,
i got error (see below),
Do you have any idea what is wrong?
java.lang.ClassNotFoundException
at SimpleClassLoader.loadClass(SimpleClassLoader.java:110)
at SimpleClassLoader.loadClass(SimpleClassLoader.java:53)
at Run.main(Run.java:31)What does "run an class" mean? You don't run classes. They're not executables.
I bet your problem is the classpath. You are aware that the classloader looks only there? Unless it's an UrlClassLoader. -
HT1338 how can i run java on a Mac OS version 10.6.8?
My company runs it's email and agent portal through Java, wen I wen through the Java web page to download the software
it sends me to apple support, does anybody have an idea of how to run java on a Mac book Mac OS v10.6.8?
help me please my job is depending on this.Since August 2012 updates for Java (and especially Java Runtime Environment, which is what you actually need) must now be downloaded direct from Oracle:
http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1637588.h tml
Further information here:
http://www.oracle.com/us/corporate/press/1735645
and their FAQ’s:
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/mac-faq.html
However, if you need the Jave 6 JRE and plug-in, MadMAC0 has posted at
https://discussions.apple.com/message/20107182?ac_cid=tw123456#20107182
Apple has also posted (Oct 22/12) the approved solution for restoring the Java 6 plug-in:
Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality. -
Can i run java applications in native code (JNI) using IBM J9
Hi,
If i use IBM J9 for windows mobile 5.0, can i call java in C applications using JNI. Does J9 have AWT native interface support to embed java GUI in native window.
thanks and regards,
VishnuI am also interested in the answer to these questions.
-
I use Java run live stock market feeds which have always worked perfectly on 10.4.10. Just bought a new MacBook running 10.5.1 - I managed to get it working a couple of times but now will not work at all. I tried everything I can think of including fsck which found no faults and I even copied over my Java files from my PowerBook to the MacBook. So it seems that 10.5.1 does not work with Java J2SE 5.0. The application I run says I need Java 1.5 but I cannot seem to locate this anywhere to download and the previous versions in the J2SE 5.0 are 1.3.1 and 1.4.2 plugins. The site where I am logging into the live fees from does have link to a 1.5 plugin which I have downloaded several times but makes no difference, when I open the file it is all weird looking text which may be perfectly normal, not sure e.g.
MZêIt is run as a desktop app, and other runs with commands such as JOptionPane do function, only the println windows don't appear at all. So I think JRE is installed and working.
I did notice there was one command for input where I'd be able to enter it at the bottom of Netbeans.
Like just now I clicked build and run for the following code
import java.util.*;
public class FirstProgram
public static void main(String[] args)
System.out.println("Hello out there.");
System.out.println("I will add two numbers for you.");
System.out.println("Enter two whole numbers on a line:");
int n1, n2;
Scanner keyboard = new Scanner(System.in);
n1=keyboard.nextInt();
n2=keyboard.nextInt();
System.out.println("The sum of those two numbers is");
System.out.println(n1+n2)
}Resulting in a brief flash of "input" in the output window (which is below the coding window) and it dissapears. But this also occurs when I don't include system scanner code.
Using commands in cmd
java -jar "C:\Users\Alegis\Netb\MyApp\dist\MyApp.jar"
Does not yield desired results either. Nothing happens. -
Can i run java program in the same way of .exe program?
I am beginner in java and i'd like to know that java program can run in the same of .exe program(double click program icon) , instead of typing "java [class name]" or
choose execute botton from forteCE.
Thank you for your help
[email protected]You can write a .bat script which launches the java command for you:
@echo off
java <your prog name here>
Then move your .bat file icon wherever you want...
bye
Michele
Tip: if you don't want to see the black VM window, try javaw instead of java.
Maybe you are looking for
-
Hello, There would have been many threads on GR by RF devices however the company which we are implementing SAP WMS (ECC 6.0) currently works with more advanced WMS solution and we have a task in hand to at least match the functionalities which it is
-
The left speaker has lower volume than the right speaker of my pavilion g4-1202ax..
please help me with this problem.. the left speaker has low volume.. but the balance is equal.. what should i do?? is any one there wants to help me??
-
hello sir i purchase second hand iphone4s now my iphone ask for activation with id and password i contact with previous owner and use that id and password but that also not work what i do ola help me i try all other method restore ' upgrade etc but n
-
Process order based on split valuation
Hi Experts, I have a scenario where the same HALB material in the plant can be of 3 different grades. Accordingly, if I do a split valuation based on the 3 grades, how can I ensure that while creating a process ord
-
Hi PLM specialists, I do have a question concerning quality notification, type F2 - vendor error. I do get the following tabs: reference objects, subject, processing: that's clear. But there are also these tabs: items, tasks, activities. The tab item