• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Double Click .class  RSS feed

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was wondering, is there a way I can make it so that when I double click ???.class file it will open a command line to the right file and run as "java ???"?

Thanks,
Kevin
[ July 21, 2004: Message edited by: Kevin Starr ]
 
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will at least nead an Operating system.
Shall I make a suggestion?
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Kevin Starr:
I was wondering, is there a way I can make it so that when I double click ???.class file it will open a command line to the right file and run as "java ???"?



That would be make it a lot easier for me to deploy my programs! I'm kind of new to Java, and my friends hate Java (because they're so lazy! Wake up and smell the Java!). But anyways, have you tried executable jar files?

http://homepage.eircom.net/~pugsleypaul/java/jars.htm
This place talks about your problem with executing java programs, without having to go through the process of opening up the command line and blah blha blahe lol
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!