Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • 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
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

none of my java applications work with 1.5.0 on mac os 10.3.9

 
Ranch Hand
Posts: 77
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
betbeans still does not work
console says
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please verify what your .bash_profile looks like after editing. In Terminal, type:

cat .bash_profile

Hit return, and post the output here.
 
marc weber
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did this get resolved?
 
Zachary Davis
Ranch Hand
Posts: 77
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
man I'm sorry I took so long to reply



I can wait until I buy tiger or leoperd
the only thing that does not work is the compiler, but the apps work generally ok. There's a crash every now and then, but I can live with it.
 
marc weber
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The .bash_profile should read...

...without the "Zachary-Davis-Computer:~ zach$" at the end of the JAVA_HOME variable. Look back earlier in this thread for how to edit this.
 
Zachary Davis
Ranch Hand
Posts: 77
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok I think that the Zachary... is the next line

yesterday morning I booted my computer and it said DEFAULT CATCH! and abunch of numbers I do not remember, anyway my dad reset the PRAM and it worked fine there after.
(just thought I would let you know in case this afects anything)
 
marc weber
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by John Davis:
...yesterday morning I booted my computer and it said DEFAULT CATCH! and abunch of numbers I do not remember, anyway my dad reset the PRAM and it worked fine there after...


I have no idea what that means.
 
Zachary Davis
Ranch Hand
Posts: 77
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well it just happened again ( im on my brothers ibook) and I read it could be a logic board or processor on the way out but it could be many other things at this point. Reinstallation of os x is one of the first seggustions so this will solve the java problem (if its not the logic board or processor)
 
Zachary Davis
Ranch Hand
Posts: 77
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think its the PRAM battery :roll:
 
marc weber
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by John Davis:
I think its the PRAM battery :roll:


That seems reasonable, I guess. How old is this machine?
 
Zachary Davis
Ranch Hand
Posts: 77
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a G4 power mac daul processor 500MHz
at the DEFAULT CATCH! screen it said some part was manufactured in 2001 so therabouts
 
Zachary Davis
Ranch Hand
Posts: 77
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok its technically the HD because some of the mem blocks that hold the boot file have gone bad, so I need to reinstall the os(its not the pram batt because we used a volt meter and checked the battery and it said 3.6 volts.
 
Zachary Davis
Ranch Hand
Posts: 77
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And everything works, exept net beans!?!?!
 
marc weber
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by John Davis:
ok I think that the Zachary... is the next line...


I'm still not convinced it's right. Mine displays with a line break before the next prompt...

Last login: Sat Oct 7 11:42:53 on ttyp1
Welcome to Darwin!
powerbook:~ marc$ cat .bash_profile
export JAVA_HOME=/Library/Java/Home
powerbook:~ marc$


Try editing again, adding a return at the end of your .bash_profile just to be sure.
 
Zachary Davis
Ranch Hand
Posts: 77
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here it is
netbeans still doesn't run
[ October 07, 2006: Message edited by: John Davis ]
 
marc weber
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by John Davis:
...netbeans still doesn't run...


Okay, but your .bash_profile looks okay now, so my guess is that NetBeans just needs to be configured.

I've never used NetBeans myself, so I'm going to suggest that you start a topic in our IDE forum. In the post, indicate what OS you're using, your Java version, your NetBeans version, and what your .bash-profile looks like. Describe exactly what happens when you try to use NetBeans...
 
Zachary Davis
Ranch Hand
Posts: 77
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what if i reinstall the 1.4.2 version of netbeans?
 
marc weber
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by John Davis:
what if i reinstall the 1.4.2 version of netbeans?


Yes, try reinstalling the 1.4.2 version of NetBeans. Since NetBeans is itself a Java application, you would need a version of NetBeans that does not require Java beyond 1.4.2.
 
Zachary Davis
Ranch Hand
Posts: 77
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yay I installed netbeans 4.1 and it wrks fine thanks every one
reply
    Bookmark Topic Watch Topic
  • New Topic